summaryrefslogtreecommitdiff
path: root/plugin.video.mediathekview/resources/sql/exportstruct.sh
diff options
context:
space:
mode:
authorLeo Moll <leo.moll@dtms.de>2018-01-11 12:16:45 +0100
committerMartijn Kaijser <martijn@xbmc.org>2018-01-15 18:48:50 +0100
commite5d0f50b8d39ab7fd745b8f384ec622f6b0df5d9 (patch)
tree330896b0ec477109bcf87798feb7076a65588c45 /plugin.video.mediathekview/resources/sql/exportstruct.sh
parent7614cf25cf45728579713777796a41bed914fe05 (diff)
[plugin.video.mediathekview] 0.3.4
Diffstat (limited to 'plugin.video.mediathekview/resources/sql/exportstruct.sh')
-rwxr-xr-xplugin.video.mediathekview/resources/sql/exportstruct.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin.video.mediathekview/resources/sql/exportstruct.sh b/plugin.video.mediathekview/resources/sql/exportstruct.sh
new file mode 100755
index 0000000..04c18a6
--- /dev/null
+++ b/plugin.video.mediathekview/resources/sql/exportstruct.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+mysqldump -u root -p --add-drop-database --add-drop-table --events --routines --no-data --databases filmliste > filmliste-init-0.sql
+sed -i'' -e 's/ AUTO_INCREMENT=[0-9]*//g' filmliste-init-0.sql