diff --git a/20190522-1.sql b/20190522-1.sql new file mode 100644 index 0000000..0add17f --- /dev/null +++ b/20190522-1.sql @@ -0,0 +1,25 @@ +create table instagram +( + id varchar(256) not null + constraint instagram_pk + primary key, + lastpost varchar(256) default '' not null, + ctime timestamp with time zone default current_timestamp not null, + mtime timestamp with time zone default current_timestamp not null +); + +create table line_ig_rt +( + line varchar(100) not null + constraint line_ig_rt_line_group_id_fk + references line_group + on delete cascade, + ig varchar(256) not null + constraint line_ig_rt_instagram_id_fk + references instagram + on delete cascade, + tmpl varchar(512) default '' not null, + constraint line_ig_rt_pk + primary key (line, ig) +); + diff --git a/dbVersion.json b/dbVersion.json index ebe9ee5..4217bb4 100644 --- a/dbVersion.json +++ b/dbVersion.json @@ -22,7 +22,11 @@ {"file": "20180928-1.sql", "version": 20}, {"file": "20181001-1.sql", "version": 21}, {"file": "20181010-1.sql", "version": 22}, +<<<<<<< Updated upstream {"file": "20190305-1.sql", "version": 23} +======= + {"file": "20190522-1.sql", "version": 23} +>>>>>>> Stashed changes ], "test": [] } \ No newline at end of file