Migration 000061 inserts the RBAC role and demo user (openlearner@yimaru.com). STUDENT keeps sequential ApplyAccess and practice ordering; OPEN_LEARNER shares learner permissions and customer flows. Document the role in Swagger and point initial seed SQL at the migration for the demo account. Co-authored-by: Cursor <cursoragent@cursor.com>
6 lines
216 B
SQL
6 lines
216 B
SQL
DELETE FROM users WHERE id = 13 AND email = 'openlearner@yimaru.com';
|
|
|
|
DELETE FROM role_permissions WHERE role_id = (SELECT id FROM roles WHERE name = 'OPEN_LEARNER');
|
|
|
|
DELETE FROM roles WHERE name = 'OPEN_LEARNER';
|