refactor: make casing for column names consistent (#1517)
* refactor: make casing for column names consistent * fix: format issues
This commit is contained in:
1 parent
32ee9f3dcc
commit
8fea983c2e
15 files changed
+3678
-275
No files matched your search
@@ -10,7 +10,7 @@ const migrationsFolder = process.argv[2] ?? ".";
|
||||
const migrateAsync = async () => {
|
||||
const sqlite = new Database(process.env.DB_URL?.replace("file:", ""));
|
||||
|
||||
const db = drizzle(sqlite, { schema });
|
||||
const db = drizzle(sqlite, { schema, casing: "snake_case" });
|
||||
|
||||
migrate(db, { migrationsFolder });
|
||||
|
||||
|
||||
Reference in new issue
Block a user