From b529b7d3a0204ee12ac172579f6fb07fef226004 Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Sat, 8 Jan 2022 00:00:27 -0800 Subject: [PATCH] Added UNIQUE for charInfo table Added UNIQUE for charInfo table. --- migrations/dlu/0_initial.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/dlu/0_initial.sql b/migrations/dlu/0_initial.sql index 16cb3e7e..3c07d888 100644 --- a/migrations/dlu/0_initial.sql +++ b/migrations/dlu/0_initial.sql @@ -15,7 +15,7 @@ DROP TABLE IF EXISTS charinfo; CREATE TABLE charinfo ( id BIGINT NOT NULL PRIMARY KEY, 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, needs_rename BOOLEAN NOT NULL DEFAULT FALSE, prop_clone_id BIGINT UNSIGNED AUTO_INCREMENT UNIQUE,