diff options
author | Erich Eckner <git@eckner.net> | 2018-04-17 13:40:15 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-17 13:41:59 +0200 |
commit | 89e5daa8914d9ec8fecfa9b8706df219d3c4b91a (patch) | |
tree | 68afcc49f5afac898c7d926b7206827b6bb40236 | |
parent | 809cbd113232eee77dd5a73520bb0608d7a00046 (diff) | |
download | builder-89e5daa8914d9ec8fecfa9b8706df219d3c4b91a.tar.xz |
bin/check-db-structure: remove AUTO_INCREMENT for easy comparison
-rwxr-xr-x | bin/check-db-structure | 5 |
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 + ' |