Moved backend to it's own directory under project
This commit is contained in:
parent
c8a6acd07d
commit
36c58a89f7
19 changed files with 0 additions and 0 deletions
0
project/server/migrations/.gitkeep
Normal file
0
project/server/migrations/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
DROP TABLE users;
|
|
@ -0,0 +1,8 @@
|
|||
CREATE TABLE users (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`username` varchar(100) UNIQUE NOT NULL,
|
||||
`password` varchar(128) NOT NULL,
|
||||
`admin` boolean NOT NULL,
|
||||
`created_at` timestamp NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
Loading…
Add table
Add a link
Reference in a new issue