21 lines
530 B
SQL
21 lines
530 B
SQL
CREATE TABLE `performance` (
|
|
`path` text NOT NULL,
|
|
`search` text,
|
|
`time` integer NOT NULL,
|
|
`created_at` integer DEFAULT (current_timestamp)
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE TABLE `session` (
|
|
`id` text PRIMARY KEY NOT NULL,
|
|
`created_at` integer DEFAULT (current_timestamp),
|
|
`expires_at` integer NOT NULL,
|
|
`user_id` text NOT NULL
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE TABLE `user` (
|
|
`id` text PRIMARY KEY NOT NULL,
|
|
`created_at` integer DEFAULT (current_timestamp) NOT NULL,
|
|
`email` text NOT NULL,
|
|
`name` text NOT NULL
|
|
);
|