git.cweiske.de
/
anoweco.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update composer package pear2/services_linkback from v0.3.0 to v0.4.0
[anoweco.git]
/
scripts
/
dump-schema.sh
1
#!/bin/sh
2
# update data/schema.sql
3
cd "`dirname "$0"`"
4
mysqldump\
5
--skip-add-locks\
6
--skip-disable-keys\
7
--skip-add-drop-table\
8
--no-data\
9
-uanoweco -panoweco\
10
anoweco\
11
| grep -v '^/\\*'\
12
| grep -v '^--'\
13
| sed 's/AUTO_INCREMENT=[0-9]* //'\
14
> ../data/schema.sql