Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support custom migration name for db pull #1613

Merged
merged 3 commits into from
Oct 26, 2023
Merged

Conversation

sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Oct 25, 2023

What kind of change does this PR introduce?

feature
closes #1612

What is the new behavior?

$ supabase db pull my_schema
Connecting to remote database...
Setting up initial schema....
Creating custom roles supabase/roles.sql...
Applying migration 20230811162533_test.sql...
Schema written to supabase/migrations/20231025092542_my_schema.sql
Update remote migration history table? [Y/n] n
Finished supabase db pull.

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested a review from a team as a code owner October 25, 2023 09:24
@coveralls
Copy link

coveralls commented Oct 25, 2023

Pull Request Test Coverage Report for Build 6649959813

  • 7 of 12 (58.33%) changed or added relevant lines in 4 files are covered.
  • 8 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.08%) to 58.58%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/db.go 0 5 0.0%
Files with Coverage Reduction New Missed Lines %
internal/debug/postgres.go 3 64.86%
internal/gen/keys/keys.go 5 12.31%
Totals Coverage Status
Change from base Build 6649955047: -0.08%
Covered Lines: 5670
Relevant Lines: 9679

💛 - Coveralls

@sweatybridge sweatybridge merged commit 3850c22 into main Oct 26, 2023
8 checks passed
@sweatybridge sweatybridge deleted the pull-name branch October 26, 2023 06:09
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.

Custom migration name while db pull
3 participants