veeque
veeque
Explore posts from servers
DTDrizzle Team
Created by veeque on 5/11/2025 in #help
Migrate only up to a certain migration
@oke there is no way, unless i manually mingle with the journal (the migrate function for DO uses that, not the sql files, to know which entries exist). this is prone to breakage. i opened an issue. if you feel inclined i'm more than happy to hear your feedback on this! https://github.com/drizzle-team/drizzle-orm/issues/4512
8 replies
DTDrizzle Team
Created by veeque on 5/11/2025 in #help
Migrate only up to a certain migration
i’ll look more into it, my thinking is to hack something
8 replies
DTDrizzle Team
Created by veeque on 5/11/2025 in #help
Migrate only up to a certain migration
(each instance gets its own "mini db")
8 replies
DTDrizzle Team
Created by veeque on 5/11/2025 in #help
Migrate only up to a certain migration
i can't because there can be millions of durable objects, and thus the only realistic way to do it is via code, at runtime
8 replies
DTDrizzle Team
Created by veeque on 5/11/2025 in #help
Migrate only up to a certain migration
(durable objects)
8 replies
HHono
Created by veeque on 5/10/2025 in #help
Maintaining slugs when grouping
ty!
6 replies
HHono
Created by veeque on 5/10/2025 in #help
Maintaining slugs when grouping
ah ok, i see
6 replies
HHono
Created by veeque on 5/10/2025 in #help
Maintaining slugs when grouping
oh shoot, yes, i meant :thisSlugHere
6 replies
CDCloudflare Developers
Created by veeque on 5/6/2025 in #workers-help
How to redefine types generated by `wrangler types`
renamed the file to global.d.ts helped, but still i lose the worker-related stuff due to me just giving those two methods
3 replies
CDCloudflare Developers
Created by veeque on 5/6/2025 in #workers-help
How to redefine types generated by `wrangler types`
I tried making interface Env extends Cloudflare.Env to no avail
3 replies
CDCloudflare Developers
Created by veeque on 4/25/2025 in #durable-objects
deleteAll
it's not really a problem, just a "making sure everything is how i expect it to be". i must have the if statement, and having the return twice bothered me a bit, so i figured that since the only thing changing is the status being returned, if i set the value in memory (even if i delete it from storage) i can return the correct value without undoing the deletion from storage (thus saving on cost).
3 replies