File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ func (database *DatabaseMysql) syncStructure() {
128
128
defer os .Remove (tmpfile .Name ())
129
129
130
130
// Sync structure only
131
- dumpCmd := database .remoteMysqldumpCmdBuilder ([]string {"--no-data" }, false )
131
+ dumpCmd := database .remoteMysqldumpCmdBuilder ([]string {"--no-data" }, true )
132
132
shell .Cmd (dumpCmd ... ).Pipe ("cat" , ">" , tmpfile .Name ()).Run ()
133
133
134
134
// Restore structure only
@@ -147,7 +147,7 @@ func (database *DatabaseMysql) syncData() {
147
147
defer os .Remove (tmpfile .Name ())
148
148
149
149
// Sync data only
150
- dumpCmd := database .remoteMysqldumpCmdBuilder ([]string {"--no-create-info" }, false )
150
+ dumpCmd := database .remoteMysqldumpCmdBuilder ([]string {"--no-create-info" }, true )
151
151
shell .Cmd (dumpCmd ... ).Pipe ("cat" , ">" , tmpfile .Name ()).Run ()
152
152
153
153
// Restore data only
You can’t perform that action at this time.
0 commit comments