howmuch/migrations/20241017215433_create_event_table.postgres.up.sql

11 lines
305 B
MySQL
Raw Normal View History

2024-10-18 17:36:31 +00:00
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
);