diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 14:34:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 14:34:42 +0000 |
commit | 9f46488805e86b1bc341ea1620b866016c2ce5ed (patch) | |
tree | f9748c7e287041e37d6da49e0a29c9511dc34768 /scripts/schema_changed.sh | |
parent | dfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff) | |
download | gitlab-ce-9f46488805e86b1bc341ea1620b866016c2ce5ed.tar.gz |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
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 } |