Skip to content

Commit a420bb7

Browse files
authored
Order tables in schema dump (#933)
To unify the dumps across developer machines.
1 parent d1147b2 commit a420bb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Command/Phinx/Dump.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9696
];
9797
$tables = $this->getTablesToBake($collection, $options);
9898

99+
sort($tables);
100+
99101
$dump = [];
100102
if ($tables) {
101103
foreach ($tables as $table) {

0 commit comments

Comments
 (0)