mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-26 17:06:41 -05:00
fix: change default drizzle output file to auth-schema
This commit is contained in:
@@ -134,7 +134,7 @@ export const drizzleAdapter = (
|
||||
},
|
||||
async createSchema(options, file) {
|
||||
const tables = getAuthTables(options);
|
||||
const filePath = file || "./schema.ts";
|
||||
const filePath = file || "./auth-schema.ts";
|
||||
const timestampAndBoolean =
|
||||
databaseType !== "sqlite" ? "timestamp, boolean" : "";
|
||||
const int = databaseType === "mysql" ? "int" : "integer";
|
||||
|
||||
Reference in New Issue
Block a user