Skip to content

Commit fa38386

Browse files
ravage84markstory
authored andcommitted
Order tables in schema dump (#933)
To unify the dumps across developer machines.
1 parent 35fe781 commit fa38386

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
@@ -100,6 +100,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
100100
$finder = new TableFinder($connectionName);
101101
$tables = $finder->getTablesToBake($collection, $options);
102102

103+
sort($tables);
104+
103105
$dump = [];
104106
if ($tables) {
105107
foreach ($tables as $table) {

0 commit comments

Comments
 (0)