Resolve merge conflicts in drizzle migrations

This commit is contained in:
Yash Kumar
2026-09-08 17:06:17 +05:30
15 changed files with 9284 additions and 23 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
import { relations } from "drizzle-orm";
import { pgTable, text, timestamp } from "drizzle-orm/pg-core";
import { boolean, pgTable, text, timestamp } from "drizzle-orm/pg-core";
import { z } from "zod";
import { organization } from "./account";
import { user } from "./user";
@@ -15,6 +15,7 @@ export const ssoProvider = pgTable("sso_provider", {
onDelete: "cascade",
}),
domain: text("domain").notNull(),
domainVerified: boolean("domain_verified").notNull().default(true),
createdAt: timestamp("created_at").notNull().defaultNow(),
});
+6 -1
View File
@@ -32,7 +32,12 @@ export const auth = betterAuth({
},
plugins: [
apiKey({ enableMetadata: true, references: "user" }),
sso(),
sso({
trustEmailVerified: true,
domainVerification: {
enabled: true,
},
}),
twoFactor(),
passkey(),
organization({