Add users insert to users.sql
This commit is contained in:
parent
d42a6dd034
commit
69a9877a40
@ -4,4 +4,8 @@ CREATE TABLE users(
|
|||||||
password VARCHAR(32) NOT NULL,
|
password VARCHAR(32) NOT NULL,
|
||||||
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);
|
Loading…
Reference in New Issue
Block a user