Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
howyi committed Jan 23, 2018
1 parent cd31c01 commit 19de944
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Conv/Generator/TableAlterMigrationGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,18 @@ public static function generate(
);
}

// switch ($patition->getType()) {
// case PARTITION_RESET:
// $migrationLineList->add(new PartitionResetMigration($patition));
// break;
// case PARTITION_REORGANIZE:
// $migrationLineList->add(new PartitionReorganizeMigration($patition));
// break;
// case PARTITION_REMOVE:
// $migrationLineList->add(new PartitionRemoveMigration($patition));
// break;
// }

$tableAlterMigration = new TableAlterMigration($beforeTable->getTableName(), $afterTable->getTableName(), $migrationLineList, $renamedNameList);

if ($tableAlterMigration->isAltered()) {
Expand Down

0 comments on commit 19de944

Please sign in to comment.