Skip to content

Conversation

@ndthang15
Copy link
Owner

No description provided.

@@ -1,76 +1,65 @@
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
-- DROP TYPE IF EXISTS status_type;
Copy link
Owner Author

Choose a reason for hiding this comment

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

Cái này a comment đi vì script chỉ chạy 1 lần, và xóa nếu nó đang được gắn vào bảng có thể gây lỗi.

FOREIGN KEY (user_id) REFERENCES sso_user(user_id),
FOREIGN KEY (role_id) REFERENCES sso_role(role_id)
);
CREATE TABLE IF NOT EXISTS sso_profile_to_role (
Copy link
Owner Author

Choose a reason for hiding this comment

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

Bảng này như trong Diagram thì anh muốn sso_user_role quan hệ nhiều nhiều giữa user và role. Profile cũng có thể nhưng chưa đúng yêu cầu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants