make usernames not null
This commit is contained in:
@@ -23,7 +23,7 @@ const migrations = [
|
||||
await conn.query(`
|
||||
CREATE TABLE users (
|
||||
id INT PRIMARY KEY AUTO_INCREMENT,
|
||||
username VARCHAR(32) UNIQUE
|
||||
username VARCHAR(32) NOT NULL UNIQUE
|
||||
)
|
||||
`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user