Removing unique constraint from username column

This commit is contained in:
Collin Duncan 2023-01-29 19:19:08 +01:00
parent 9ef3009cc2
commit 4d56881d12
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
export const CREATE_TABLE_reservations = `
CREATE TABLE IF NOT EXISTS reservations (
id VARCHAR(36) NOT NULL PRIMARY KEY,
username VARCHAR(64) NOT NULL UNIQUE,
username VARCHAR(64) NOT NULL,
password VARCHAR(255) NOT NULL,
date_range_start DATETIME NOT NULL,
date_range_end DATETIME NOT NULL,