DT
Drizzle Teamnelsonprsousa
Foreign key truncated for being too long?
Hi,
I have multiple warnings / notices:
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "packagesToCategories_package_city_region_country_countryLanguages" will be truncated to "packagesToCategories_package_city_region_country_countryLanguag"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
Is there a way to name this identifier or silence this warning? Otherwise I am afraid this will start polluting our logs.
Thank youAngelelz•194d ago
They will be adding the ability to name your FK and constrains in the next release
nelsonprsousa•193d ago
Thank you
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 Postsdrizzle-zod with custom typesI have defined opaque types in my application and have implemented those in the drizzle schema (awesUsing transactions in automated testing like JestI have a testing set-up as follows:
1. Start postgres container
2. Apply migrations to db
3. Jest tTypeScript complaining about using a spread operator in partial select queryTypeScript complaining about me using a spread operator in partial select query.
I have the followiUnable to read error message when inserting withdb.insert().values()Hey there, i am using visual studio code and am developing with nuxt3. I am trying to insert an objehow to add new driver to drizzle?what is the procedure of adding a new driver to drizzle orm?`drizzle-kit --custom` is not giving me a blank migration fileI'm doing the following:
```sh
drizzle-kit generate:pg --custom
```
But it's not giving me a blank