Add simple yew frontend

This commit is contained in:
Marko Korhonen 2020-04-13 17:48:42 +03:00
parent a0e8cfe5f9
commit bbaf01dafe
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
26 changed files with 711 additions and 31 deletions

View file

View file

@ -0,0 +1 @@
DROP TABLE users;

View 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;