Skip to content

fix: drop user created publications during reset - #2789

Merged
sweatybridge merged 1 commit into
developfrom
drop-pub
Oct 21, 2024
Merged

fix: drop user created publications during reset#2789
sweatybridge merged 1 commit into
developfrom
drop-pub

Conversation

@sweatybridge

@sweatybridge sweatybridge commented Oct 21, 2024

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Bug fix #2640
supersedes #2780

What is the current behavior?

Failed to delete user-created publications, causing the migration to create publications to fail.

What is the new behavior?

Add a function to drop user-created publications, excluding supabase_realtime.

Co-authored-by: billysutomo <billysutomo.53@gmail.com>
@coveralls

coveralls commented Oct 21, 2024

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 11444403439

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.03%) to 59.746%

Files with Coverage Reduction New Missed Lines %
internal/debug/postgres.go 3 64.86%
Totals Coverage Status
Change from base Build 11444175365: -0.03%
Covered Lines: 6360
Relevant Lines: 10645

💛 - Coveralls

@sweatybridge
sweatybridge merged commit 1a1e908 into develop Oct 21, 2024
@sweatybridge
sweatybridge deleted the drop-pub branch October 21, 2024 16:27
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.

Publications are not dropped when resetting remote database

2 participants