Add users insert to users.sql

This commit is contained in:
Alex Thomassen 2019-11-18 11:32:06 +01:00
parent d42a6dd034
commit 69a9877a40
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE

View File

@ -4,4 +4,8 @@ CREATE TABLE users(
password VARCHAR(32) NOT NULL,
is_admin TINYINT(1) DEFAULT 0,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
);
INSERT INTO users(username, password, is_admin) VALUES
('admin', 'password', 1),
('joakim', 'ErEnIdiot', 0);