11 lines
305 B
SQL
11 lines
305 B
SQL
CREATE TABLE "event" (
|
|
"id" serial NOT NULL,
|
|
PRIMARY KEY ("id"),
|
|
"name" character varying(255) NOT NULL,
|
|
"description" character varying(10000) NULL,
|
|
"default_currency" character varying(255) NOT NULL,
|
|
"owner_id" integer NOT NULL,
|
|
"created_at" date NOT NULL,
|
|
"updated_at" date NOT NULL
|
|
);
|