Skip to content

Conversation

sweatybridge
Copy link
Contributor

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

When running supabase migration list --db-url on fresh self-hosted projects, a missing table error is thrown.

What is the new behavior?

$ supabase migration list --db-url 'postgres://self-hosted'


        LOCAL      │ REMOTE │     TIME (UTC)
  ─────────────────┼────────┼──────────────────────
    20230410135622 │        │ 2023-04-10 13:56:22

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested a review from a team as a code owner April 21, 2023 05:01
@sweatybridge sweatybridge changed the title fix: treat missing migration history table as empty fix: handle missing migration history table as empty Apr 21, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 4761725754

  • 9 of 9 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 60.564%

Totals Coverage Status
Change from base Build 4755982824: 0.1%
Covered Lines: 4191
Relevant Lines: 6920

💛 - Coveralls

@sweatybridge sweatybridge merged commit 71e44b9 into main Apr 21, 2023
@sweatybridge sweatybridge deleted the fix-load branch April 21, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants