add new schema
This commit is contained in:
parent
899a2fb0f2
commit
2e1f513107
25
20190522-1.sql
Normal file
25
20190522-1.sql
Normal file
@ -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)
|
||||
);
|
||||
|
@ -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": []
|
||||
}
|
Loading…
Reference in New Issue
Block a user