mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-27 13:21:32 +00:00
Update sql_format_check.sh
This commit is contained in:
parent
057315749a
commit
53f1c76421
1 changed files with 5 additions and 0 deletions
|
@ -16,3 +16,8 @@ find $TMP_DIR -type f -name '*.sql' -exec pg_format -i {} +
|
|||
|
||||
# Diff the directories
|
||||
diff -r migrations $TMP_DIR
|
||||
|
||||
# Check formatting of replaceable_schema.sql
|
||||
cp -a replaceable_schema.sql $TMP_DIR
|
||||
pg_format -i $TMP_DIR/replaceable_schema.sql
|
||||
diff -r replaceable_schema.sql $TMP_DIR/replaceable_schema.sql
|
||||
|
|
Loading…
Reference in a new issue