13 lines
196 B
SQL
13 lines
196 B
SQL
CREATE TABLE games(
|
|
uuid TEXT PRIMARY KEY,
|
|
name TEXT
|
|
);
|
|
|
|
CREATE TABLE characters(
|
|
uuid TEXT PRIMARY KEY,
|
|
game TEXT,
|
|
data TEXT,
|
|
|
|
FOREIGN KEY(game) REFERENCES games(uuid)
|
|
);
|