10 lines
285 B
SQL
10 lines
285 B
SQL
CREATE TABLE `progress` (
|
|
`user_id` text NOT NULL,
|
|
`plan_date` text NOT NULL,
|
|
`done_tasks` text DEFAULT '[]' NOT NULL,
|
|
`mood` text DEFAULT '' NOT NULL,
|
|
`note` text DEFAULT '' NOT NULL,
|
|
`updated_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
PRIMARY KEY(`user_id`, `plan_date`)
|
|
);
|