thdxr
Explore posts from serversDTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
so latest drizzle-kit fixed a bunch of issues with dropping indexes and preserving pk order
but it's still dropping and recreating PKs every time
70 replies
DTDrizzle Team
•Created by thdxr on 9/9/2023 in #help
MySQL Blob
is there support for mysql blob type?
2 replies
DTDrizzle Team
•Created by thdxr on 9/7/2023 in #help
push:mysql dropping unique index
i think drizzle generates the following when it needs to drop a unique index
this doesn't work - i think it should be
6 replies
DTDrizzle Team
•Created by thdxr on 9/6/2023 in #help
postgres push issue
have a table like this
db push wants to do this
27 replies
DTDrizzle Team
•Created by thdxr on 8/15/2023 in #help
drizzle push and primary key order
right now the primary key order isn't respected at least on MySQL
work around is i just fix it manually using alter table statements but all my coworkers have to do this also - ideally this can be respected
5 replies
DTDrizzle Team
•Created by thdxr on 7/20/2023 in #help
Dropping Primary Key
still having some issues where push is trying to drop my primary keys
38 replies
DTDrizzle Team
•Created by thdxr on 7/17/2023 in #help
support fsp for .onUpdateNow(),
title explains it
2 replies
DTDrizzle Team
•Created by thdxr on 7/17/2023 in #help
You're about to add not-null version without default value
I added this column
and it's trying to truncate because it thinks there's on default value
5 replies
DTDrizzle Team
•Created by thdxr on 7/17/2023 in #help
Cannot read properties of undefined (reading 'columns')
32 replies
DTDrizzle Team
•Created by thdxr on 7/12/2023 in #help
0.27.2 mysql:push
mysql:push in 0.27.2 is trying to alter my primaryKey with no schema changes. it also seems to try and drop a constraint that doesn't exist yet?
I think it's something to do with the unique index changes
26 replies
DTDrizzle Team
•Created by thdxr on 6/16/2023 in #help
Timestamp as string
so when i have a timestamp in string mode, setting
new Date().toISOString()
does not work - i need to drop the trailing Z
from it
can drizzle handle this?6 replies
DTDrizzle Team
•Created by thdxr on 5/17/2023 in #help
type union on entire row
i can think of workarounds for this but figured i'd ask
if i have a table that's like
[id, type, data (json)]
and i want a discriminated union based on type - is there a way to do this with drizzle?
i was going to do my own fancy type stuff but though i'd ask first
4 replies
DTDrizzle Team
•Created by thdxr on 4/17/2023 in #help
unrecognized_keys
Getting the following error when running generate:pg
8 replies
DTDrizzle Team
•Created by thdxr on 4/14/2023 in #help
how to do ANY
need to do
where 'myvariable' = ANY(mycolumn)
8 replies
DTDrizzle Team
•Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
Weird bug where whenever I add a
where
eq
clause getting maximum call stack exceeded59 replies