(updatedAt: Date)
| 39 | * rename can never revert the rename after it landed. |
| 40 | */ |
| 41 | export const organizationAcceptsName = (updatedAt: Date) => |
| 42 | or(isNull(organizations.workosUpdatedAt), lte(organizations.workosUpdatedAt, updatedAt)); |
| 43 | |
| 44 | const readOrganization = async (db: DrizzleDb, id: string) => { |
| 45 | const rows = await db.select().from(organizations).where(eq(organizations.id, id)); |
no outgoing calls
no test coverage detected