Add migration to add auth_user_id column to users table #5

Merged
ImanThiyanga merged 2 commits from fix/phase-01 into Dev 2026-07-14 11:02:52 +00:00
Owner
  • Introduced a new column 'auth_user_id' of type UUID to the 'users' table.
  • Updated existing user data to set 'auth_user_id' to null for UserId 1.
  • Created a unique index on 'auth_user_id' to enforce uniqueness.
  • Implemented rollback functionality to remove the column and index if needed.
- Introduced a new column 'auth_user_id' of type UUID to the 'users' table. - Updated existing user data to set 'auth_user_id' to null for UserId 1. - Created a unique index on 'auth_user_id' to enforce uniqueness. - Implemented rollback functionality to remove the column and index if needed.
ImanThiyanga added 1 commit 2026-07-14 11:02:34 +00:00
- Introduced a new column 'auth_user_id' of type UUID to the 'users' table.
- Updated existing user data to set 'auth_user_id' to null for UserId 1.
- Created a unique index on 'auth_user_id' to enforce uniqueness.
- Implemented rollback functionality to remove the column and index if needed.
ImanThiyanga added 1 commit 2026-07-14 11:02:46 +00:00
ImanThiyanga merged commit 4b2914cd5d into Dev 2026-07-14 11:02:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: New_REP_SYSTEM/ERP-core#5