howmuch/migrations/20241017215433_create_event_table.postgres.up.sql
2024-10-18 19:36:31 +02:00

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
);