Last additions
This commit is contained in:
parent
015c5db775
commit
09c2cf0074
12 changed files with 104 additions and 34 deletions
1
tex/code/cors-header
Normal file
1
tex/code/cors-header
Normal file
|
@ -0,0 +1 @@
|
|||
Access-Control-Allow-Origin: http://palvelin2.fi
|
1
tex/code/down.sql
Normal file
1
tex/code/down.sql
Normal file
|
@ -0,0 +1 @@
|
|||
DROP TABLE users;
|
8
tex/code/up.sql
Normal file
8
tex/code/up.sql
Normal file
|
@ -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