mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-23 01:05:27 +00:00
roleIds are numbers
This commit is contained in:
@@ -528,7 +528,7 @@ export const alertEmailRecipients = pgTable("alertEmailRecipients", {
|
||||
userId: varchar("userId").references(() => users.userId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
roleId: varchar("roleId").references(() => roles.roleId, {
|
||||
roleId: integer("roleId").references(() => roles.roleId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
email: varchar("email", { length: 255 }) // external emails not tied to a user
|
||||
|
||||
Reference in New Issue
Block a user