feat: add manufacturers table to schema
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
drizzle-pg/0007_steady_sasquatch.sql
Normal file
12
drizzle-pg/0007_steady_sasquatch.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE "manufacturers" (
|
||||
"id" serial PRIMARY KEY NOT NULL,
|
||||
"name" text NOT NULL,
|
||||
"slug" text NOT NULL,
|
||||
"website" text NOT NULL,
|
||||
"tier" integer DEFAULT 1 NOT NULL,
|
||||
"active" boolean DEFAULT true NOT NULL,
|
||||
"country" text,
|
||||
"created_at" timestamp DEFAULT now() NOT NULL,
|
||||
CONSTRAINT "manufacturers_name_unique" UNIQUE("name"),
|
||||
CONSTRAINT "manufacturers_slug_unique" UNIQUE("slug")
|
||||
);
|
||||
Reference in New Issue
Block a user