diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-29 18:09:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-29 18:09:58 +0300 |
commit | 647de7e6fd971d435396cc8730a2d162240e3d7c (patch) | |
tree | 3e2fc4e6e8027375d6061f2ad4badda04ef04476 /scripts/schema_changed.sh | |
parent | 4233d3aa86fe94e6288279aa55d42ed95bfe753c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/schema_changed.sh')
-rwxr-xr-x | scripts/schema_changed.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/schema_changed.sh b/scripts/schema_changed.sh index e8c120e92e1..427e0128df7 100755 --- a/scripts/schema_changed.sh +++ b/scripts/schema_changed.sh @@ -2,13 +2,13 @@ schema_changed() { if [ ! -z "$(git diff --name-only -- db/structure.sql)" ]; then - printf "db/structure.sql after rake db:migrate:reset is different from one in the repository" + printf "Schema changes are not cleanly committed to db/structure.sql\n" printf "The diff is as follows:\n" diff=$(git diff -p --binary -- db/structure.sql) printf "%s" "$diff" exit 1 else - printf "db/structure.sql after rake db:migrate:reset matches one in the repository" + printf "Schema changes are correctly applied to db/structure.sql\n" fi } |