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 (
|
"hosting": """CREATE TABLE IF NOT EXISTS hosting (
|
||||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||||
Name VARCHAR(255),
|
Name VARCHAR(255) UNIQUE,
|
||||||
Capacity INT,
|
Capacity INT,
|
||||||
reservedBy VARCHAR(255)
|
reservedBy VARCHAR(255)
|
||||||
);""",
|
);""",
|
||||||
|
|||||||
6
package-lock.json
generated
Normal file
6
package-lock.json
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "invitation",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user