10 lines
287 B
SQL
10 lines
287 B
SQL
CREATE TABLE IF NOT EXISTS "product" (
|
|
"id" serial PRIMARY KEY NOT NULL,
|
|
"title" varchar(64) NOT NULL,
|
|
"description" text NOT NULL,
|
|
"long_description" text NOT NULL,
|
|
"price" numeric(12, 2) DEFAULT '0',
|
|
"created_at" timestamp DEFAULT now(),
|
|
"updated_at" timestamp DEFAULT now()
|
|
);
|