Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Comments

#62: added user, role, permission entities#76

Merged
TockePie merged 1 commit intomasterfrom
lab5/artem
Apr 28, 2025
Merged

#62: added user, role, permission entities#76
TockePie merged 1 commit intomasterfrom
lab5/artem

Conversation

@khmko1rtm
Copy link
Collaborator

added user, role, permission entities and filled them with data

closes #62


INSERT INTO user_roles (user_id, role_id)
VALUES
((SELECT id FROM "User" WHERE email = 'alice@example.com'), (SELECT id FROM "Role" WHERE name = 'Admin')),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very smart! I didn't know about this feature. 👏

@TockePie TockePie merged commit 69af3c1 into master Apr 28, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Create User, Role and Perimission entities

2 participants