mirror of
https://github.com/ChronosX88/yat-server.git
synced 2024-11-14 19:10:59 +00:00
8 lines
276 B
SQL
8 lines
276 B
SQL
-- Your SQL goes here
|
|
create table if not exists lists_tasks (
|
|
id integer primary key,
|
|
list_id integer,
|
|
task_id integer not null,
|
|
foreign key (list_id) references lists(id) on delete set null,
|
|
foreign key (task_id) references tasks(id) on delete cascade
|
|
); |