simpler users table for now
This commit is contained in:
parent
f3e0570182
commit
7b8d849758
0
server/migrations/.gitkeep
Normal file
0
server/migrations/.gitkeep
Normal file
2
server/migrations/2020-02-04-083551_users/down.sql
Normal file
2
server/migrations/2020-02-04-083551_users/down.sql
Normal file
@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE `users`;
|
9
server/migrations/2020-02-04-083551_users/up.sql
Normal file
9
server/migrations/2020-02-04-083551_users/up.sql
Normal file
@ -0,0 +1,9 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS `users` (
|
||||
`id` int(10) NOT NULL auto_increment,
|
||||
`username` varchar(255),
|
||||
`display` varchar(255),
|
||||
`password` varchar(255),
|
||||
`email` varchar(255),
|
||||
PRIMARY KEY( `id` )
|
||||
);
|
Loading…
Reference in New Issue
Block a user