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

@ -5,3 +5,7 @@ CREATE TABLE users(
is_admin TINYINT(1) DEFAULT 0, is_admin TINYINT(1) DEFAULT 0,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
); );
INSERT INTO users(username, password, is_admin) VALUES
('admin', 'password', 1),
('joakim', 'ErEnIdiot', 0);