mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
13 lines
440 B
MySQL
13 lines
440 B
MySQL
|
CREATE TABLE IF NOT EXISTS "body" (
|
||
|
character_id INT NOT NULL PRIMARY KEY,
|
||
|
race SMALLINT NOT NULL,
|
||
|
body_type SMALLINT NOT NULL,
|
||
|
hair_style SMALLINT NOT NULL,
|
||
|
beard SMALLINT NOT NULL,
|
||
|
eyebrows SMALLINT NOT NULL,
|
||
|
accessory SMALLINT NOT NULL,
|
||
|
hair_color SMALLINT NOT NULL,
|
||
|
skin SMALLINT NOT NULL,
|
||
|
eye_color SMALLINT NOT NULL,
|
||
|
FOREIGN KEY(character_id) REFERENCES "character"(id) ON DELETE CASCADE
|
||
|
);
|