add unique name in hosting table(fix dublication error)
This commit is contained in:
@@ -17,7 +17,7 @@ STARTUP_TABLE_CREATION_QUERIES = {
|
||||
);""",
|
||||
"hosting": """CREATE TABLE IF NOT EXISTS hosting (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
Name VARCHAR(255),
|
||||
Name VARCHAR(255) UNIQUE,
|
||||
Capacity INT,
|
||||
reservedBy VARCHAR(255)
|
||||
);""",
|
||||
|
||||
Reference in New Issue
Block a user