Drizzle push to turso clears data

the drizzle push looks like this, and when i do this, for some reason only the accounts table is fine while every other table gets cleared. there's nothing saying it will do this. this didn't used to happen, not sure why it's happening.
"drizzle-orm": "^0.30.10",
"drizzle-kit": "^0.21.4",

{
schema: "./src/server/db/schema.ts",
verbose: true,
strict: true,
dialect: "sqlite",
out: "./migrations",
driver: "turso",
dbCredentials: {
url: env.TURSO_DATABASE_URL,
authToken: env.TURSO_AUTH_TOKEN
},
tablesFilter: ["spidey_*"]
}
"drizzle-orm": "^0.30.10",
"drizzle-kit": "^0.21.4",

{
schema: "./src/server/db/schema.ts",
verbose: true,
strict: true,
dialect: "sqlite",
out: "./migrations",
driver: "turso",
dbCredentials: {
url: env.TURSO_DATABASE_URL,
authToken: env.TURSO_AUTH_TOKEN
},
tablesFilter: ["spidey_*"]
}
No description
3 Replies
jai
jaiOP7mo ago
this also happened before
No description
jai
jaiOP7mo ago
so i upgraded and this started happening
No description
jai
jaiOP7mo ago
it never used to do the __old stuff, it would just only change what needed changes
Want results from more Discord servers?
Add your server