Added more sample data
This commit is contained in:
parent
db6fdf3c29
commit
7ec207bf03
1 changed files with 213 additions and 51 deletions
|
@ -1,58 +1,220 @@
|
||||||
INSERT OR IGNORE INTO users(username, password)
|
INSERT OR IGNORE INTO users(username, password)
|
||||||
VALUES ("admin", "123");
|
VALUES ("admin", "123"),
|
||||||
|
("user", "123"),
|
||||||
|
("user2", "123"),
|
||||||
|
("John", "123"),
|
||||||
|
("Emma", "123"),
|
||||||
|
("Michael", "123"),
|
||||||
|
("Liam", "123"),
|
||||||
|
("Oliver", "123"),
|
||||||
|
("Amelia", "123"),
|
||||||
|
("Benjamin", "123"),
|
||||||
|
("Mia", "123"),
|
||||||
|
("Elijah", "123"),
|
||||||
|
("Charlotte", "123"),
|
||||||
|
("Henry", "123"),
|
||||||
|
("Harper", "123"),
|
||||||
|
("Lucas", "123"),
|
||||||
|
("Emily", "123"),
|
||||||
|
("Alexander", "123"),
|
||||||
|
("Daniel", "123"),
|
||||||
|
("Ella", "123"),
|
||||||
|
("Matthew", "123"),
|
||||||
|
("Madison", "123"),
|
||||||
|
("Samuel", "123"),
|
||||||
|
("Avery", "123"),
|
||||||
|
("Sofia", "123"),
|
||||||
|
("David", "123"),
|
||||||
|
("Victoria", "123"),
|
||||||
|
("Jackson", "123"),
|
||||||
|
("Abigail", "123"),
|
||||||
|
("Gabriel", "123"),
|
||||||
|
("Luna", "123"),
|
||||||
|
("Wyatt", "123"),
|
||||||
|
("Chloe", "123"),
|
||||||
|
("Nora", "123"),
|
||||||
|
("Joshua", "123"),
|
||||||
|
("Hazel", "123"),
|
||||||
|
("Riley", "123"),
|
||||||
|
("Scarlett", "123"),
|
||||||
|
("Aria", "123"),
|
||||||
|
("Carter", "123"),
|
||||||
|
("Grace", "123"),
|
||||||
|
("Jayden", "123"),
|
||||||
|
("Hannah", "123"),
|
||||||
|
("Zoe", "123"),
|
||||||
|
("Luke", "123"),
|
||||||
|
("Sophia", "123"),
|
||||||
|
("Jack", "123"),
|
||||||
|
("Isabella", "123"),
|
||||||
|
("William", "123"),
|
||||||
|
("Mason", "123"),
|
||||||
|
("Evelyn", "123"),
|
||||||
|
("James", "123"),
|
||||||
|
("Cynthia", "123"),
|
||||||
|
("Abraham", "123"),
|
||||||
|
("Ava", "123"),
|
||||||
|
("Aiden", "123"),
|
||||||
|
("Natalie", "123"),
|
||||||
|
("Lily", "123"),
|
||||||
|
("Olivia", "123"),
|
||||||
|
("Alexander", "123"),
|
||||||
|
("Ethan", "123"),
|
||||||
|
("Mila", "123"),
|
||||||
|
("Evelyn", "123"),
|
||||||
|
("Logan", "123"),
|
||||||
|
("Riley", "123"),
|
||||||
|
("Grace", "123"),
|
||||||
|
("Arnold", "123"),
|
||||||
|
("Connor", "123"),
|
||||||
|
("Samantha", "123"),
|
||||||
|
("Emma", "123"),
|
||||||
|
("Sarah", "123"),
|
||||||
|
("Nathan", "123"),
|
||||||
|
("Layla", "123"),
|
||||||
|
("Ryan", "123"),
|
||||||
|
("Zoey", "123"),
|
||||||
|
("Megan", "123"),
|
||||||
|
("Christian", "123"),
|
||||||
|
("Eva", "123"),
|
||||||
|
("Isaac", "123"),
|
||||||
|
("Michaela", "123"),
|
||||||
|
("Caroline", "123"),
|
||||||
|
("Elijah", "123"),
|
||||||
|
("Elena", "123"),
|
||||||
|
("Julian", "123"),
|
||||||
|
("Sophie", "123"),
|
||||||
|
("Gabriella", "123"),
|
||||||
|
("Cole", "123"),
|
||||||
|
("Hannah", "123"),
|
||||||
|
("Lucy", "123"),
|
||||||
|
("Katherine", "123"),
|
||||||
|
("Benjamin", "123"),
|
||||||
|
("Ella", "123"),
|
||||||
|
("Evan", "123");
|
||||||
|
|
||||||
INSERT OR IGNORE INTO users(username, password)
|
INSERT OR IGNORE INTO projects(name, description, owner_user_id)
|
||||||
VALUES ("user", "123");
|
VALUES ("projecttest1", "Description for projecttest1", 1),
|
||||||
|
("projecttest2", "Description for projecttest2", 1),
|
||||||
|
("projecttest3", "Description for projecttest3", 1),
|
||||||
|
("projecttest4", "Description for projecttest4", 1),
|
||||||
|
("projecttest5", "Description for projecttest5", 1),
|
||||||
|
("projecttest6", "Description for projecttest6", 1),
|
||||||
|
("projecttest7", "Description for projecttest7", 1),
|
||||||
|
("projecttest8", "Description for projecttest8", 1),
|
||||||
|
("projecttest9", "Description for projecttest9", 1),
|
||||||
|
("projecttest10", "Description for projecttest10", 1),
|
||||||
|
("projecttest11", "Description for projecttest11", 1),
|
||||||
|
("projecttest12", "Description for projecttest12", 1),
|
||||||
|
("projecttest13", "Description for projecttest13", 1),
|
||||||
|
("projecttest14", "Description for projecttest14", 1),
|
||||||
|
("projecttest15", "Description for projecttest15", 1);
|
||||||
|
|
||||||
INSERT OR IGNORE INTO users(username, password)
|
INSERT OR IGNORE INTO user_roles(user_id,project_id,p_role)
|
||||||
VALUES ("user2", "123");
|
VALUES (1,1,"project_manager"),
|
||||||
|
(1,2,"project_manager"),
|
||||||
|
(1,3,"project_manager"),
|
||||||
|
(1,4,"project_manager"),
|
||||||
|
(1,5,"project_manager"),
|
||||||
|
(1,6,"project_manager"),
|
||||||
|
(1,7,"project_manager"),
|
||||||
|
(1,8,"project_manager"),
|
||||||
|
(1,9,"project_manager"),
|
||||||
|
(1,10,"project_manager"),
|
||||||
|
(1,11,"project_manager"),
|
||||||
|
(1,12,"project_manager"),
|
||||||
|
(1,13,"project_manager"),
|
||||||
|
(1,14,"project_manager"),
|
||||||
|
(1,15,"project_manager"),
|
||||||
|
(2,1,"project_manager"),
|
||||||
|
(2,2,"member"),
|
||||||
|
(2,3,"member"),
|
||||||
|
(2,4,"member"),
|
||||||
|
(2,5,"member"),
|
||||||
|
(2,6,"member"),
|
||||||
|
(2,7,"member"),
|
||||||
|
(2,8,"member"),
|
||||||
|
(2,9,"member"),
|
||||||
|
(2,10,"member"),
|
||||||
|
(2,11,"member"),
|
||||||
|
(2,12,"member"),
|
||||||
|
(2,13,"member"),
|
||||||
|
(2,14,"member"),
|
||||||
|
(2,15,"member"),
|
||||||
|
(3,1,"member"),
|
||||||
|
(3,2,"member"),
|
||||||
|
(3,3,"member"),
|
||||||
|
(3,4,"member"),
|
||||||
|
(3,5,"member"),
|
||||||
|
(3,6,"member"),
|
||||||
|
(3,7,"member"),
|
||||||
|
(3,8,"member"),
|
||||||
|
(3,9,"member"),
|
||||||
|
(3,10,"member"),
|
||||||
|
(3,11,"member"),
|
||||||
|
(3,12,"member"),
|
||||||
|
(3,13,"member"),
|
||||||
|
(3,14,"member"),
|
||||||
|
(3,15,"member"),
|
||||||
|
(4,1,"member"),
|
||||||
|
(4,2,"member"),
|
||||||
|
(4,3,"member"),
|
||||||
|
(4,4,"member"),
|
||||||
|
(4,5,"member"),
|
||||||
|
(4,6,"member"),
|
||||||
|
(4,7,"member"),
|
||||||
|
(4,8,"member"),
|
||||||
|
(4,9,"member"),
|
||||||
|
(4,10,"member"),
|
||||||
|
(4,11,"member"),
|
||||||
|
(4,12,"member"),
|
||||||
|
(4,13,"member"),
|
||||||
|
(4,14,"member"),
|
||||||
|
(4,15,"member"),
|
||||||
|
(5,1,"member"),
|
||||||
|
(5,2,"member"),
|
||||||
|
(5,3,"member"),
|
||||||
|
(5,4,"member"),
|
||||||
|
(5,5,"member"),
|
||||||
|
(5,6,"member"),
|
||||||
|
(5,7,"member"),
|
||||||
|
(5,8,"member"),
|
||||||
|
(5,9,"member"),
|
||||||
|
(5,10,"member"),
|
||||||
|
(5,11,"member"),
|
||||||
|
(5,12,"member"),
|
||||||
|
(5,13,"member"),
|
||||||
|
(5,14,"member"),
|
||||||
|
(5,15,"member");
|
||||||
|
|
||||||
|
INSERT OR IGNORE INTO weekly_reports (user_id, project_id, week, development_time, meeting_time, admin_time, own_work_time, study_time, testing_time, signed_by)
|
||||||
|
VALUES (2, 1, 12, 100, 50, 30, 150, 80, 20, NULL),
|
||||||
|
(3, 1, 12, 200, 80, 20, 200, 100, 30, NULL),
|
||||||
|
(3, 1, 14, 150, 70, 40, 180, 90, 25, NULL),
|
||||||
|
(3, 2, 12, 120, 60, 35, 160, 85, 15, NULL),
|
||||||
|
(3, 3, 12, 180, 90, 25, 190, 110, 40, NULL),
|
||||||
|
(2, 1, 13, 130, 70, 40, 170, 95, 35, NULL),
|
||||||
|
(3, 1, 15, 140, 60, 50, 200, 120, 30, NULL),
|
||||||
|
(2, 2, 11, 110, 50, 45, 140, 70, 25, NULL),
|
||||||
|
(3, 3, 14, 170, 80, 30, 180, 100, 35, NULL),
|
||||||
|
(3, 3, 15, 200, 100, 20, 220, 130, 45, NULL),
|
||||||
|
(2, 4, 12, 120, 60, 40, 160, 80, 30, NULL),
|
||||||
|
(3, 5, 14, 150, 70, 30, 180, 90, 25, NULL),
|
||||||
|
(3, 5, 15, 180, 90, 20, 190, 110, 35, NULL),
|
||||||
|
(2, 6, 11, 100, 50, 35, 130, 60, 20, NULL),
|
||||||
|
(3, 7, 14, 170, 80, 25, 180, 100, 30, NULL),
|
||||||
|
(2, 8, 12, 130, 70, 30, 170, 90, 25, NULL),
|
||||||
|
(2, 8, 13, 150, 80, 20, 180, 110, 35, NULL),
|
||||||
|
(3, 9, 12, 140, 60, 40, 180, 100, 30, NULL),
|
||||||
|
(3, 10, 11, 120, 50, 45, 150, 70, 25, NULL),
|
||||||
|
(2, 11, 13, 110, 60, 35, 140, 80, 30, NULL),
|
||||||
|
(3, 12, 12, 160, 70, 30, 180, 100, 35, NULL),
|
||||||
|
(3, 12, 13, 180, 90, 25, 190, 110, 40, NULL),
|
||||||
|
(3, 12, 14, 200, 100, 20, 220, 130, 45, NULL),
|
||||||
|
(2, 13, 11, 100, 50, 45, 130, 60, 20, NULL),
|
||||||
|
(2, 13, 12, 120, 60, 40, 160, 80, 30, NULL),
|
||||||
|
(3, 14, 13, 140, 70, 30, 160, 90, 35, NULL),
|
||||||
|
(3, 15, 12, 150, 80, 25, 180, 100, 30, NULL),
|
||||||
|
(3, 15, 13, 170, 90, 20, 190, 110, 35, NULL);
|
||||||
|
|
||||||
INSERT OR IGNORE INTO site_admin VALUES (1);
|
INSERT OR IGNORE INTO site_admin VALUES (1);
|
||||||
|
|
||||||
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 (1,2,"project_manager");
|
|
||||||
|
|
||||||
INSERT OR IGNORE INTO user_roles(user_id,project_id,p_role)
|
|
||||||
VALUES (1,3,"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");
|
|
||||||
|
|
||||||
INSERT OR IGNORE INTO weekly_reports (user_id, project_id, week, development_time, meeting_time, admin_time, own_work_time, study_time, testing_time, signed_by)
|
|
||||||
VALUES (2, 1, 12, 20, 10, 5, 30, 15, 10, NULL);
|
|
||||||
|
|
||||||
INSERT OR IGNORE INTO weekly_reports (user_id, project_id, week, development_time, meeting_time, admin_time, own_work_time, study_time, testing_time, signed_by)
|
|
||||||
VALUES (3, 1, 12, 20, 10, 5, 30, 15, 10, NULL);
|
|
||||||
|
|
||||||
INSERT OR IGNORE INTO weekly_reports (user_id, project_id, week, development_time, meeting_time, admin_time, own_work_time, study_time, testing_time, signed_by)
|
|
||||||
VALUES (3, 1, 14, 20, 10, 5, 30, 15, 10, NULL);
|
|
||||||
|
|
||||||
INSERT OR IGNORE INTO weekly_reports (user_id, project_id, week, development_time, meeting_time, admin_time, own_work_time, study_time, testing_time, signed_by)
|
|
||||||
VALUES (3, 2, 12, 20, 10, 5, 30, 15, 10, NULL);
|
|
||||||
|
|
||||||
INSERT OR IGNORE INTO weekly_reports (user_id, project_id, week, development_time, meeting_time, admin_time, own_work_time, study_time, testing_time, signed_by)
|
|
||||||
VALUES (3, 3, 12, 20, 10, 5, 30, 15, 10, NULL);
|
|
||||||
|
|
Loading…
Reference in a new issue