zej
zej
Explore posts from servers
DTDrizzle Team
Created by subrahmanyamv on 10/15/2023 in #help
I am getting below error as I use drizzle, these are repeating too often. I am using postgres driver
no worries tho. Ill just wait for a way for us to add custom fk names. After changing the table names to shorter ones its all fixed now. 🙂
10 replies
DTDrizzle Team
Created by subrahmanyamv on 10/15/2023 in #help
I am getting below error as I use drizzle, these are repeating too often. I am using postgres driver
yes.. it seems that way. however when I got to check the table structure the FK was not added
10 replies
DTDrizzle Team
Created by subrahmanyamv on 10/15/2023 in #help
I am getting below error as I use drizzle, these are repeating too often. I am using postgres driver
ty @Angelelz disabling the notice does not really solve it bc this specific notice messes up with the FK constraints. For example, a FK constraint not being added with no error, so you think everything is fine.. but in reality a constraint was not added to the table. I think the drizzle team is working on a way to specify the constraint index names which would fix this. (https://ptb.discord.com/channels/1043890932593987624/1168063086146617454/1168065522412298292) For now i just renamed the tables to a shorter name
10 replies
DTDrizzle Team
Created by zej on 10/29/2023 in #help
FK identifier will be truncated... how to specify my own?
awesome! ty
6 replies
DTDrizzle Team
Created by zej on 10/29/2023 in #help
FK identifier will be truncated... how to specify my own?
Here is the exact warning:
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "very_long_id_fk" will be truncated to "very_lon"',
where: 'SQL statement ...',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "very_long_id_fk" will be truncated to "very_lon"',
where: 'SQL statement ...',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
6 replies
DTDrizzle Team
Created by subrahmanyamv on 10/15/2023 in #help
I am getting below error as I use drizzle, these are repeating too often. I am using postgres driver
how did you solved it? i was looking into specifying my own indentifier but could not find anything...
10 replies
DTDrizzle Team
Created by Raiyan on 6/12/2023 in #help
Planetscale migration error
nevermind tysm @hayato94087 for sharing the repo. this helps a lot!
5 replies
DTDrizzle Team
Created by Raiyan on 6/12/2023 in #help
Planetscale migration error
Hello! how are you handling relations with planetscale and drizzle? how does a "one-to-many" query looks like?
5 replies