mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-14 08:25:03 -05:00
reconnect option to connect diff account
This commit is contained in:
@@ -273,4 +273,6 @@ SELECT
|
||||
FROM "credential" c
|
||||
WHERE c.type = 'env_personal'::"credential_type"
|
||||
AND c.env_owner_user_id IS NOT NULL
|
||||
ON CONFLICT DO NOTHING;
|
||||
ON CONFLICT DO NOTHING;
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE "pending_credential_draft" ADD COLUMN IF NOT EXISTS "credential_id" text REFERENCES "credential"("id") ON DELETE CASCADE;
|
||||
@@ -2109,6 +2109,7 @@ export const pendingCredentialDraft = pgTable(
|
||||
providerId: text('provider_id').notNull(),
|
||||
displayName: text('display_name').notNull(),
|
||||
description: text('description'),
|
||||
credentialId: text('credential_id').references(() => credential.id, { onDelete: 'cascade' }),
|
||||
expiresAt: timestamp('expires_at').notNull(),
|
||||
createdAt: timestamp('created_at').notNull().defaultNow(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user