2024-03-20 17:25:38 +01:00
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO users(username, password)
|
2024-03-18 22:39:02 +01:00
|
|
|
VALUES ("admin", "123");
|
2024-03-20 17:25:38 +01:00
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO users(username, password)
|
2024-03-18 22:39:02 +01:00
|
|
|
VALUES ("user", "123");
|
2024-03-20 17:25:38 +01:00
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO users(username, password)
|
2024-03-18 22:39:02 +01:00
|
|
|
VALUES ("user2", "123");
|
2024-03-20 17:25:38 +01:00
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO users(username, password)
|
|
|
|
VALUES ("martin", "genPass123");
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO projects(name, description, owner_user_id)
|
|
|
|
VALUES ("projecttest", "test project", 1);
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO projects(name, description, owner_user_id)
|
|
|
|
VALUES ("projecttest2", "test project2", 1);
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO projects(name, description, owner_user_id)
|
|
|
|
VALUES ("projecttest3", "test project3", 1);
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO user_roles(user_id, project_id, p_role)
|
|
|
|
VALUES (1, 1, "project_manager");
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO user_roles(user_id, project_id, p_role)
|
|
|
|
VALUES (2, 1, "member");
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO user_roles(user_id, project_id, p_role)
|
|
|
|
VALUES (3, 1, "member");
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO user_roles(user_id, project_id, p_role)
|
|
|
|
VALUES (3, 2, "member");
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO user_roles(user_id, project_id, p_role)
|
|
|
|
VALUES (3, 3, "member");
|
|
|
|
INSERT
|
|
|
|
OR IGNORE INTO user_roles(user_id, project_id, p_role)
|
|
|
|
VALUES (2, 1, "project_manager");
|