Skip to content

Commit

Permalink
Merge pull request #371 from YunoHost/SQL-skip-dump-date
Browse files Browse the repository at this point in the history
[enh] Remove date from sql dump
  • Loading branch information
maniackcrudelis committed Sep 23, 2017
2 parents 1aa34b7 + d42cc00 commit 369699f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/helpers.d/mysql
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ynh_mysql_drop_db() {
# | arg: db - the database name to dump
# | ret: the mysqldump output
ynh_mysql_dump_db() {
mysqldump -u "root" -p"$(sudo cat $MYSQL_ROOT_PWD_FILE)" "$1"
mysqldump -u "root" -p"$(sudo cat $MYSQL_ROOT_PWD_FILE)" --skip-dump-date "$1"
}

# Create a user
Expand Down

0 comments on commit 369699f

Please sign in to comment.