mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Remove date from sql dump
This commit is contained in:
parent
1aa34b76e4
commit
d42cc00a87
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ ynh_mysql_drop_db() {
|
||||||
# | arg: db - the database name to dump
|
# | arg: db - the database name to dump
|
||||||
# | ret: the mysqldump output
|
# | ret: the mysqldump output
|
||||||
ynh_mysql_dump_db() {
|
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
|
# Create a user
|
||||||
|
|
Loading…
Add table
Reference in a new issue