refactor: make casing for column names consistent (#1517)

* refactor: make casing for column names consistent

* fix: format issues
This commit is contained in:
Meier Lukas authored and GitHub committed 2024-11-23 17:17:00 +01:00
1 parent 32ee9f3dcc
commit 8fea983c2e
15 files changed
+3678 -275

No files matched your search

+1 -1
View File
@@ -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 });