@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 07:15 UTC

main
sql 15 lines 453 Bytes
Raw
1 CREATE TABLE `posts` (
2 `id` int AUTO_INCREMENT PRIMARY KEY,
3 `user_id` int NOT NULL,
4 `title` varchar(255) NOT NULL,
5 `body` varchar(4096) NOT NULL,
6 `created_at` timestamp NOT NULL DEFAULT (now())
7 );
8 --> statement-breakpoint
9 CREATE TABLE `users` (
10 `id` int AUTO_INCREMENT PRIMARY KEY,
11 `email` varchar(255) NOT NULL,
12 `name` varchar(255) NOT NULL,
13 `created_at` timestamp NOT NULL DEFAULT (now()),
14 CONSTRAINT `email_unique` UNIQUE INDEX(`email`)
15 );