mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
* Added "migration of migrations" to transfer the data from the __diesel_schema_migrations table to the refinery_schema_history table * Removed all down migrations as refinery does not support down migrations * Changed all diesel up migrations to refinery naming format * Added --sql-log-mode parameter to veloren-server-cli to allow SQL tracing and profiling * Added /disconnect_all_players admin command * Added disconnectall CLI command * Fixes for several potential persistence-related race conditions
13 lines
440 B
SQL
13 lines
440 B
SQL
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
|
|
); |