src/Phinx/Db/Adapter/MysqlAdapter.php 1 location
|
@@ 376-382 (lines=7) @@
|
| 373 |
|
/** |
| 374 |
|
* {@inheritdoc} |
| 375 |
|
*/ |
| 376 |
|
protected function getDropTableInstructions($tableName) |
| 377 |
|
{ |
| 378 |
|
$this->removeCreatedTable($tableName); |
| 379 |
|
$sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName)); |
| 380 |
|
|
| 381 |
|
return new AlterInstructions([], [$sql]); |
| 382 |
|
} |
| 383 |
|
|
| 384 |
|
/** |
| 385 |
|
* {@inheritdoc} |
src/Phinx/Db/Adapter/SQLiteAdapter.php 1 location
|
@@ 466-472 (lines=7) @@
|
| 463 |
|
/** |
| 464 |
|
* {@inheritdoc} |
| 465 |
|
*/ |
| 466 |
|
protected function getDropTableInstructions($tableName) |
| 467 |
|
{ |
| 468 |
|
$this->removeCreatedTable($tableName); |
| 469 |
|
$sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName)); |
| 470 |
|
|
| 471 |
|
return new AlterInstructions([], [$sql]); |
| 472 |
|
} |
| 473 |
|
|
| 474 |
|
/** |
| 475 |
|
* {@inheritdoc} |
src/Phinx/Db/Adapter/SqlServerAdapter.php 1 location
|
@@ 371-377 (lines=7) @@
|
| 368 |
|
/** |
| 369 |
|
* {@inheritdoc} |
| 370 |
|
*/ |
| 371 |
|
protected function getDropTableInstructions($tableName) |
| 372 |
|
{ |
| 373 |
|
$this->removeCreatedTable($tableName); |
| 374 |
|
$sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName)); |
| 375 |
|
|
| 376 |
|
return new AlterInstructions([], [$sql]); |
| 377 |
|
} |
| 378 |
|
|
| 379 |
|
/** |
| 380 |
|
* {@inheritdoc} |
src/Phinx/Db/Adapter/PostgresAdapter.php 1 location
|
@@ 357-363 (lines=7) @@
|
| 354 |
|
/** |
| 355 |
|
* {@inheritdoc} |
| 356 |
|
*/ |
| 357 |
|
protected function getDropTableInstructions($tableName) |
| 358 |
|
{ |
| 359 |
|
$this->removeCreatedTable($tableName); |
| 360 |
|
$sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName)); |
| 361 |
|
|
| 362 |
|
return new AlterInstructions([], [$sql]); |
| 363 |
|
} |
| 364 |
|
|
| 365 |
|
/** |
| 366 |
|
* {@inheritdoc} |