From a0d690b76414ed64a31c63a8818d41b31a1a30e2 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 29 Aug 2012 12:56:33 +0000 Subject: [PATCH] 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 --- deployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index b50b180..a1af0a4 100755 --- a/deployment.sh +++ b/deployment.sh @@ -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