Checkpoint: Fix: colonne azureAdId agrandie à VARCHAR(128) pour accepter les identifiants Azure AD composés (objectId.tenantId). Migration appliquée en production.
This commit is contained in:
1
drizzle/0033_strange_manta.sql
Normal file
1
drizzle/0033_strange_manta.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `users` MODIFY COLUMN `azureAdId` varchar(128);
|
||||
2155
drizzle/meta/0033_snapshot.json
Normal file
2155
drizzle/meta/0033_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -232,6 +232,13 @@
|
||||
"when": 1781690960721,
|
||||
"tag": "0032_volatile_jocasta",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 33,
|
||||
"version": "5",
|
||||
"when": 1783419609559,
|
||||
"tag": "0033_strange_manta",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -9,7 +9,7 @@ export const users = mysqlTable("users", {
|
||||
/** Manus OAuth identifier (openId) - Optional for backward compatibility */
|
||||
openId: varchar("openId", { length: 64 }).unique(),
|
||||
/** Azure AD Object ID - Unique identifier from Azure AD */
|
||||
azureAdId: varchar("azureAdId", { length: 64 }).unique(),
|
||||
azureAdId: varchar("azureAdId", { length: 128 }).unique(),
|
||||
name: text("name"),
|
||||
email: varchar("email", { length: 320 }).notNull().unique(),
|
||||
/** Hashed password for local authentication (bcrypt) */
|
||||
|
||||
Reference in New Issue
Block a user