Drop --no-data in mysqldump command line

We write data into the DB in revision scripts, like e.g.:

| $SVN/dev/ngcp/db-schema/trunk$ cat db_scripts/diff/9675.up
| INSERT INTO provisioning.voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, max_occur, description) VALUES('mobile_push_enable', 1, 1, 1, 0, 'boolean', 1, 'Send inbound call to Mobile Push server when called subscriber is not registered. This can not be used together with CFNA as call will be then simply forwarded.');

As suggested by Daniel let's also put data into the DB dumps.

From: Michael Prokop <mprokop@sipwise.com>
ksolomko/vlan
Michael Prokop 13 years ago
parent 1603177439
commit a0d690b764

@ -1295,7 +1295,7 @@ upload_db_dump() {
exit 1
fi
if ! chroot $TARGET mysqldump --add-drop-database --no-data --skip-comments -B $databases > /dump.db ; then
if ! chroot $TARGET mysqldump --add-drop-database --skip-comments -B $databases > /dump.db ; then
echo "Error while dumping mysql databases." >&2
exit 1
fi

Loading…
Cancel
Save