Removed third parties to use CloudFlare CDN.
Added scheduling (missing database update) Using Jinja2 templates. Updated layout.
This commit is contained in:
16
src/sql/update/0.2-0.3/001_scheduled_operations.sql
Normal file
16
src/sql/update/0.2-0.3/001_scheduled_operations.sql
Normal file
@ -0,0 +1,16 @@
|
||||
create table scheduled_operation(
|
||||
id serial primary key,
|
||||
start_date date not null,
|
||||
stop_date date not null,
|
||||
day integer not null check (day > 0 and day <= 31),
|
||||
frequency integer not null check (frequency > 0),
|
||||
label varchar(500) not null,
|
||||
value numeric(15,2) not null,
|
||||
account_id integer not null references account(id),
|
||||
category varchar(100)
|
||||
);
|
||||
|
||||
create index scheduled_operation_account_id_idx on scheduled_operation(account_id);
|
||||
|
||||
alter table entry add column scheduled_operation_id integer references scheduled_operation(id);
|
||||
|
2
src/sql/update/0.2-0.3/002_operation_date_cleanup.sql
Normal file
2
src/sql/update/0.2-0.3/002_operation_date_cleanup.sql
Normal file
@ -0,0 +1,2 @@
|
||||
alter table entry alter column operation_date set not null;
|
||||
alter table entry drop column comment;
|
Reference in New Issue
Block a user