8 lines
383 B
SQL
8 lines
383 B
SQL
CREATE TABLE cards (
|
|
password PRIMARY KEY,
|
|
name VARCHAR NOT NULL,
|
|
description TEXT NOT NULL,
|
|
frame TEXT CHECK(frame IN ('normal', 'effect', 'ritual', 'fusion', 'synchro', 'xyz', 'link', 'normal_pendulum', 'effect_pendulum', 'ritual_pendulum', 'fusion_pendulum', 'synchro_pendulum', 'xyz_pendulum', 'spell', 'trap', 'token')) NOT NULL,
|
|
image TEXT
|
|
)
|