forked from Ruderverein-Donau-Linz/rowt
8 lines
434 B
SQL
8 lines
434 B
SQL
update role set name='manage_events' where id=19;
|
|
|
|
-- test user
|
|
INSERT INTO user(name) VALUES('Marie');
|
|
INSERT INTO "user_role" (user_id, role_id) VALUES((SELECT id from user where name = 'Marie'),(SELECT id FROM role where name = 'Donau Linz'));
|
|
INSERT INTO user(name) VALUES('Philipp');
|
|
INSERT INTO "user_role" (user_id, role_id) VALUES((SELECT id from user where name = 'Philipp'),(SELECT id FROM role where name = 'Donau Linz'));
|