mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
Added UNIQUE for charInfo table
Added UNIQUE for charInfo table.
This commit is contained in:
parent
8ed7690b96
commit
b529b7d3a0
@ -15,7 +15,7 @@ DROP TABLE IF EXISTS charinfo;
|
|||||||
CREATE TABLE charinfo (
|
CREATE TABLE charinfo (
|
||||||
id BIGINT NOT NULL PRIMARY KEY,
|
id BIGINT NOT NULL PRIMARY KEY,
|
||||||
account_id INT NOT NULL REFERENCES accounts(id),
|
account_id INT NOT NULL REFERENCES accounts(id),
|
||||||
name VARCHAR(35) NOT NULL,
|
name VARCHAR(35) NOT NULL UNIQUE,
|
||||||
pending_name VARCHAR(35) NOT NULL,
|
pending_name VARCHAR(35) NOT NULL,
|
||||||
needs_rename BOOLEAN NOT NULL DEFAULT FALSE,
|
needs_rename BOOLEAN NOT NULL DEFAULT FALSE,
|
||||||
prop_clone_id BIGINT UNSIGNED AUTO_INCREMENT UNIQUE,
|
prop_clone_id BIGINT UNSIGNED AUTO_INCREMENT UNIQUE,
|
||||||
|
Loading…
Reference in New Issue
Block a user