Files
cet6-90-day-checkin/drizzle/0000_curly_gamma_corps.sql
T

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`)
);