tutor/postgres/001-deck-cards.sql

8 lines
191 B
SQL

DROP TABLE IF EXISTS "deck_cards";
CREATE TABLE "deck_cards"(
"deck_id" INTEGER NOT NULL,
"name" TEXT NOT NULL,
"set_code" TEXT,
"collector_number" TEXT,
"foil" BOOLEAN
)