DT
Drizzle Teamsmiley
Cannot migrate/push after adding column to sqlite table
I'm new to Drizzle, so I assume I'm just doing things wrong.
I have a sqlite db with a bunch of tables.
If I add a single integer column to a table, then try to
drizzle-kit push:sqlite
I get the following error :
I would have thought adding a column wouldn't require me to delete my db and start again, so can anyone help me figure out what I'm doing wrong?
Thanks in advance for your help!Lazer_Pope (Vossi)•16d ago
I haven't used sqLite, but I am sure that it won't require you to delete your db.
'No config path provided, using default path
Reading config file' sounds like drizzle can't finde your drizzle configuration. I would double check all my drizzle related file paths. If it worked before, check if you changed anything in your file and directory strucutre. I had something like that when I tydied up my project and moved my db migrations into a different folder.
'/home/radh/src/radh/drizzle.config.ts'
Are you 100% sure that the path is correct?
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.4KMembers
View on DiscordWant results from more Discord servers?
More PostsHelp building queries based on multiple conditions from an array of objectsHello, I'm having trouble formulating a query that will match rows to multiple conditions at the samPostgres.js type error string/dateI'm running the following where clause in a select query:
```
.where(
and(
gt(
sql`${e.add a prefix to UUID?I am wondering if there is a functionality where I can add a custom prefix the uuid's. These uuids w[BUG?] Handling Postgresql schemas when using enums"drizzle-orm": "^0.30.10"
Hello. I have a simple table with a status column
```ts
export const BaseS