Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

0000_whole_sprite.sql

7 lines254 Bytes

1CREATE TABLE "todos" (
2 "id" serial PRIMARY KEY NOT NULL,
3 "text" text NOT NULL,
4 "completed" boolean DEFAULT false NOT NULL,
5 "created_at" timestamp with time zone DEFAULT now() NOT NULL,
6 "updated_at" timestamp with time zone DEFAULT now() NOT NULL
7);