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} |
src/Phinx/Db/Adapter/MysqlAdapter.php 1 location
|
@@ 395-401 (lines=7) @@
|
392 |
|
/** |
393 |
|
* {@inheritdoc} |
394 |
|
*/ |
395 |
|
protected function getDropTableInstructions($tableName) |
396 |
|
{ |
397 |
|
$this->removeCreatedTable($tableName); |
398 |
|
$sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName)); |
399 |
|
|
400 |
|
return new AlterInstructions([], [$sql]); |
401 |
|
} |
402 |
|
|
403 |
|
/** |
404 |
|
* {@inheritdoc} |