public function generateDropMigration() { $existingSchema = $this->tableInfo; $codeGenerator = new TableMigrationCodeGenerator(); $migrationCode = $codeGenerator->dropTable($existingSchema); return $this->createMigrationObject($migrationCode, sprintf('Drop table %s', $this->name)); }