Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/check-db-structure
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-17 13:40:15 +0200
committerErich Eckner <git@eckner.net>2018-04-17 13:41:59 +0200
commit89e5daa8914d9ec8fecfa9b8706df219d3c4b91a (patch)
tree68afcc49f5afac898c7d926b7206827b6bb40236 /bin/check-db-structure
parent809cbd113232eee77dd5a73520bb0608d7a00046 (diff)
bin/check-db-structure: remove AUTO_INCREMENT for easy comparison
Diffstat (limited to 'bin/check-db-structure')
-rwxr-xr-xbin/check-db-structure5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/check-db-structure b/bin/check-db-structure
index f0cdf89..c92182c 100755
--- a/bin/check-db-structure
+++ b/bin/check-db-structure
@@ -16,4 +16,7 @@
printf 'SHOW CREATE TABLE `%s`;\n' "${table}"
done
} | \
- mysql_run_query
+ mysql_run_query | \
+ sed '
+ s/ AUTO_INCREMENT=[0-9]\+ / /g
+ '