From 50c2c1da0e09bbd861d94fe7f34dac4dbde33155 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 8 Mar 2020 19:49:22 -0700 Subject: [PATCH] removed optional fields --- server/migrations/2020-02-04-083551_users/up.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/migrations/2020-02-04-083551_users/up.sql b/server/migrations/2020-02-04-083551_users/up.sql index c1438be..fafecad 100644 --- a/server/migrations/2020-02-04-083551_users/up.sql +++ b/server/migrations/2020-02-04-083551_users/up.sql @@ -5,8 +5,8 @@ -- email: used for signing in to the server CREATE TABLE IF NOT EXISTS `users` ( `userid` bigint UNSIGNED NOT NULL auto_increment, - `username` varchar(255), - `key_hash` varchar(255), + `username` varchar(255) NOT NULL, + `key` varchar(255) NOT NULL, `date` bigint UNSIGNED NOT NULL, PRIMARY KEY( `userid` ) ); \ No newline at end of file