Skip to content

Commit

Permalink
db. move from timestamp to datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
edospadoni committed Jun 17, 2024
1 parent 7a7f1b6 commit 040784b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/ansible/roles/icarodb/files/icaro.sql
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ CREATE TABLE subscriptions (
id serial not null primary key,
account_id bigint unsigned not null references accounts(id),
subscription_plan_id bigint not null references subscription_plans(id),
valid_from timestamp null,
valid_until timestamp null,
created timestamp default current_timestamp
valid_from datetime null,
valid_until datetime null,
created datetime default current_timestamp
);

/* -------------------- */
Expand Down

0 comments on commit 040784b

Please sign in to comment.