Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

./dev/add_migration.sh: catch bad migrate call #5945

Merged
merged 1 commit into from
Oct 10, 2019

Conversation

chrismwendt
Copy link
Contributor

This helps prevent an incompatible migrate command from overwriting files in the migrations/ directory.

Resolves https://github.com/sourcegraph/sourcegraph/issues/5944

@chrismwendt chrismwendt requested a review from beyang as a code owner October 10, 2019 04:17
@chrismwendt chrismwendt requested a review from attfarhan October 10, 2019 04:18
@codecov
Copy link

codecov bot commented Oct 10, 2019

Codecov Report

Merging #5945 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5945      +/-   ##
==========================================
- Coverage   39.45%   39.44%   -0.01%     
==========================================
  Files        1153     1153              
  Lines       56623    56623              
  Branches     5668     5668              
==========================================
- Hits        22338    22336       -2     
- Misses      32213    32215       +2     
  Partials     2072     2072
Impacted Files Coverage Δ
cmd/frontend/graphqlbackend/repository.go 21.84% <0%> (-0.98%) ⬇️

@chrismwendt chrismwendt merged commit 47ad676 into master Oct 10, 2019
@chrismwendt chrismwendt deleted the catch-bad-add-migration branch October 10, 2019 22:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

./dev/add_migration.sh overwrites files
2 participants