File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 3131 writeln ('mkdir to save contents - {{upgrade_path}} ' );
3232 run (" mkdir -p {{upgrade_path}} " );
3333 writeln ('Export using .env details ' );
34- run ("cd {{shared_path}} && sed -i 's/ \\r \$//' .env && export $(grep -v '^#' .env | xargs) && mysqldump -u \$SS_DATABASE_USERNAME -p \$SS_DATABASE_PASSWORD -h \$SS_DATABASE_SERVER --column-statistics=0 --no-tablespaces \$SS_DATABASE_NAME > {{upgrade_path}}/mysql57-backup.sql " );
34+ run ("cd {{shared_path}} && sed 's/ \\r \$//' .env > .env.lf && mv .env.lf .env && export $(grep -v '^#' .env | xargs) && mysqldump -u \$SS_DATABASE_USERNAME -p \$SS_DATABASE_PASSWORD -h \$SS_DATABASE_SERVER --column-statistics=0 --no-tablespaces \$SS_DATABASE_NAME > {{upgrade_path}}/mysql57-backup.sql " );
3535 writeln ('Finished exporting db ' );
3636
3737 //2) Set up new db fields
You can’t perform that action at this time.
0 commit comments