Skip to content
Discussion options

You must be logged in to vote

Run in this order:

  1. supabase/schema.sql — run first. Creates the base tables.
  2. supabase/add_recurrence_to_goals.sql — run second. Adds the recurrence column to the goals table.
  3. supabase/migrations/*.sql — run last, in filename order (files are timestamped so alphabetical = correct order).

All run in the Supabase SQL Editor: Dashboard → SQL Editor → New query → paste → Run.

Already have an existing schema? Skip schema.sql and only apply migrations you haven't run yet — start from the earliest timestamp you're missing. If a migration fails with "column already exists" or similar, that change is already in your DB — safe to skip.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Priyanshu-byte-coder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants