You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using drizzle + supabase and want to use pg_cron to schedule some periodic jobs, which I don't think can be directly added through the schema. The rest of the tables is managed inside drizzle without external migration tools. I am currently writing custom SQL scripts and applying them manually after drizzle-kit migrate when I need to reset db. Is there anyway I can include my script as part of drizzle's migration, so drizzle still handles 100% of the db structure?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using drizzle + supabase and want to use
pg_cron
to schedule some periodic jobs, which I don't think can be directly added through the schema. The rest of the tables is managed inside drizzle without external migration tools. I am currently writing custom SQL scripts and applying them manually afterdrizzle-kit migrate
when I need to reset db. Is there anyway I can include my script as part of drizzle's migration, so drizzle still handles 100% of the db structure?Beta Was this translation helpful? Give feedback.
All reactions