puffy_tugboat
DTDrizzle Team
•Created by puffy_tugboat on 3/20/2024 in #help
Migration filename format with Supabase
Is there a way to configure the generated migration file name format in drizzle-kit? Supabase expects it in
<timestamp>_name.sql
, which I'm guessing is for checking the order of migrations, but the current format eg 0000_random_words.sql
doesn't play nicely with that. Any suggestions?1 replies
DTDrizzle Team
•Created by puffy_tugboat on 3/14/2024 in #help
Raw sql in schema
Hello! I'm trying to reference the supabase auth table as mentioned in the supabase docs (https://supabase.com/docs/guides/auth/managing-user-data):
Here's what I have:
But I guess I'm not doing it correctly as Ts complains:
I'm aware there are other "solutions" to this problem of referencing the auth table that involve editing the generated SQL afterwards, but would prefer if I could somehow define the raw sql in the schema itself
Thanks in advance
5 replies