When trying to push:mysql its warning that schema has changed and data will be lost when it hasnt.
· You're about to change projected_points column type from alter_table_alter_column_set_type to decimal with 689 items
THIS ACTION WILL CAUSE DATA LOSS AND CANNOT BE REVERTED
· You're about to change projected_points column type from alter_table_alter_column_set_type to decimal with 689 items
THIS ACTION WILL CAUSE DATA LOSS AND CANNOT BE REVERTED
Invalid input value for enum
Share migrations in monorepo
migrate
from drizzle-orm/postgres-js/migrator
like shown in the examples, but then I get the error that the migrations can't be found.
The only solution I figured so far is to copy the migrations from the shared package to every app directory every time when I ran drizzle-kit generate
. Can you think of any better solutions?...Top-level await is not available in the configured target environment ("node14")
How to migrate changes to a table
Postgres-js Migrate - Error: Can't find meta/_journal.json file [SOLVED]
Sveltekit Failed to resolve import "cloudflare:sockets"
Unable to insert rows when using libsql
generate:pg - 0 Tables pnpm Monorepo
drizzle-orm
/drizzle-kit
installed in a single package in my repo.
```...Bulk update in Postgres w/ Drizzle ?
UPSERT
(ie. insert w/ onConflictDoUpdate
) statement which I'm not fan of for this use case.
I'd really like to be able to do a .update(table).set(arrayOfObjects)
! But it looks like it's not supported....Problem when inserting new record
null value in column "id" of relation "MagicLinks" violates not-null constraint
and in my schema, I have id: uuid('id').primaryKey().defaultRandom()
...BUG: Prepared statements with placeholder values .execute() not working on postgres
Nullable self-reference table relation
Support for relational queries with views
relations
on a view as it is expecting a table as the first argument.
Thanks!...Many to many relationship between one type
How can I order and/or limit rows from leftJoin?
Can someone help me understand these 2 examples using pool and client?
Type Declaration with TypeScript in Monorepo failes
../db/src/schema/products.ts(4,14): error TS2742: The inferred type of 'products' cannot be named without a reference to '../../node_modules/drizzle-orm/db.d-a6fe1b19.js'. This is likely not portable. A type annotation is necessary.
../db/src/schema/products.ts(4,14): error TS2742: The inferred type of 'products' cannot be named without a reference to '../../node_modules/drizzle-orm/db.d-a6fe1b19.js'. This is likely not portable. A type annotation is necessary.
Type error?
Unsafe argument of type `any` inside select where eq query
any
. Correct me if I am wrong because I am a typescript begineer.
Refer to the screenshots attached.
```ts...