Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🗃️ User情報からAdmin情報の切り離し #67

Closed
3 tasks done
Shion1305 opened this issue Feb 24, 2024 · 0 comments · Fixed by #68
Closed
3 tasks done

🗃️ User情報からAdmin情報の切り離し #67

Shion1305 opened this issue Feb 24, 2024 · 0 comments · Fixed by #68
Assignees
Labels
todo New feature to be implemented

Comments

@Shion1305
Copy link
Member

Shion1305 commented Feb 24, 2024

TODO (実装する内容)

Adminページは別途で作成することとなったため、現状UserにくっついているAdmin属性を廃止し、別でAdmin用テーブルを作成する必要がある。

Impact (実装による変更の影響範囲)

  • UsersからAdmin/Agentに関する属性を取り払う
  • Staff, Role, RoleStaffRelationテーブルを作成する
  • 既存のAgentに関するロジックに対する移行作業を行う

Agentと区別するため、ユビキタス言語をStaffに変更する

erDiagram
	Staff {
		long UserID PK
		bool IsAdmin
	}
	RoleStaffRelation {
		long UserID
		long RoleID
	}
	Role {
		long ID
		string Name
	}
	User ||--o|Staff:""
	Role ||--o{ RoleStaffRelation:""
	Staff ||--o{ RoleStaffRelation:""

Loading
@Shion1305 Shion1305 added the todo New feature to be implemented label Feb 24, 2024
@Shion1305 Shion1305 changed the title 🔥 User情報からAdmin情報の切り離し 🗃️ User情報からAdmin情報の切り離し Feb 24, 2024
Shion1305 added a commit that referenced this issue Feb 25, 2024
Shion1305 added a commit that referenced this issue Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo New feature to be implemented
Projects
None yet
2 participants