diff options
author | Leo Moll <leo.moll@dtms.de> | 2018-01-11 12:16:45 +0100 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2018-01-15 18:48:50 +0100 |
commit | e5d0f50b8d39ab7fd745b8f384ec622f6b0df5d9 (patch) | |
tree | 330896b0ec477109bcf87798feb7076a65588c45 /plugin.video.mediathekview/resources/sql/exportstruct.sh | |
parent | 7614cf25cf45728579713777796a41bed914fe05 (diff) |
[plugin.video.mediathekview] 0.3.4
Diffstat (limited to 'plugin.video.mediathekview/resources/sql/exportstruct.sh')
-rwxr-xr-x | plugin.video.mediathekview/resources/sql/exportstruct.sh | 3 |
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 |