diff --git a/db/postgres/0001-comentario-v3.sql b/db/postgres/0001-comentario-v3.sql index fbfe5776cbf7fea25f07d1ed9866f58ade1134ba..42568936c264b3296799d2870607e44d3cbf24d6 100644 --- a/db/postgres/0001-comentario-v3.sql +++ b/db/postgres/0001-comentario-v3.sql @@ -31,7 +31,7 @@ begin migCount; -- Commento++ had 3 more migrations, which is OK too (they didn't add anything significant to impact the conversion) - elseif migCount > 30 and migCount != 33 then + elsif migCount > 30 and migCount != 33 then raise exception E'\n\nToo many database migrations installed: found %, expected 30 or 33.\n\n', migCount;