Removed third parties to use CloudFlare CDN.

Added scheduling (missing database update)
Using Jinja2 templates.
Updated layout.
This commit is contained in:
Alexis Lahouze
2013-07-28 23:25:51 +02:00
parent 7148754648
commit c4d7bb3f28
37 changed files with 847 additions and 44734 deletions

View 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);

View File

@ -0,0 +1,2 @@
alter table entry alter column operation_date set not null;
alter table entry drop column comment;