mirror of
https://github.com/ChronosX88/yat-server.git
synced 2024-11-14 19:10:59 +00:00
11 lines
311 B
MySQL
11 lines
311 B
MySQL
|
create table if not exists tasks (
|
||
|
id integer primary key,
|
||
|
name text not null,
|
||
|
user_id integer not null,
|
||
|
created_at timestamp not null,
|
||
|
updated_at timestamp,
|
||
|
description text,
|
||
|
due_date timestamp,
|
||
|
reminders text,
|
||
|
foreign key (user_id) references users(id) on delete cascade
|
||
|
);
|