diff --git a/docker/initial.sql b/docker/initial.sql index 6538f9f..136acf6 100644 --- a/docker/initial.sql +++ b/docker/initial.sql @@ -6,7 +6,7 @@ DROP TABLE IF EXISTS prefix_foos; CREATE TABLE prefix_foos ( foo_id BIGSERIAL PRIMARY KEY, - foo_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, + foo_date TIMESTAMP NULL, foo_name varchar(255) NOT NULL default '', non_updatable VARCHAR(255) NOT NULL default '' ); @@ -18,7 +18,7 @@ CREATE TABLE prefix_foos ( DROP TABLE IF EXISTS prefix_bars; CREATE TABLE prefix_bars ( bar_id BIGSERIAL PRIMARY KEY, - bar_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, + bar_date TIMESTAMP NULL, bar_updated TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, bar_name varchar(255) NOT NULL default '' );