From 7fca219b8753d1b2ab36e85c836708b562ddadbc Mon Sep 17 00:00:00 2001
From: Julian Rother <julianr@fsmpi.rwth-aachen.de>
Date: Tue, 20 Apr 2021 15:51:31 +0200
Subject: [PATCH] More helpful output in db_migrations_updated

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c15ac2d7..cfde8bc7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ db_migrations_updated:
   stage: test
   script:
   - FLASK_APP=uffd flask db upgrade
-  - FLASK_APP=uffd flask db migrate
+  - FLASK_APP=uffd flask db migrate 2>&1 | tee /dev/stderr | grep -q 'No changes in schema detected'
 
 linter:
   stage: test
-- 
GitLab