We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58b238 commit 2f33c61Copy full SHA for 2f33c61
src/Commands/MigrateDumpCommand.php
@@ -330,11 +330,18 @@ function ($line) {
330
return $exit_code;
331
}
332
333
+ /**
334
+ * @param array $db_config
335
+ * @param string $data_sql_path
336
+ *
337
+ * @return int
338
+ */
339
private static function pgsqlDataDump(array $db_config, string $data_sql_path) : int
340
{
341
passthru(
342
static::pgsqlCommandPrefix($db_config)
343
. ' --file=' . escapeshellarg($data_sql_path)
344
+ . ' --exclude-table=' . escapeshellarg($db_config['database'] . '.migrations')
345
. ' --data-only',
346
$exit_code
347
);
0 commit comments