mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Update sql_format_check.sh
This commit is contained in:
parent
057315749a
commit
53f1c76421
@ -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 New Issue
Block a user