| @@ 401-410 (lines=10) @@ | ||
| 398 | /** |
|
| 399 | * {@inheritdoc} |
|
| 400 | */ |
|
| 401 | protected function getRenameTableInstructions($tableName, $newTableName) |
|
| 402 | { |
|
| 403 | $sql = sprintf( |
|
| 404 | 'RENAME TABLE %s TO %s', |
|
| 405 | $this->quoteTableName($tableName), |
|
| 406 | $this->quoteTableName($newTableName) |
|
| 407 | ); |
|
| 408 | ||
| 409 | return new AlterInstructions([], [$sql]); |
|
| 410 | } |
|
| 411 | ||
| 412 | /** |
|
| 413 | * {@inheritdoc} |
|
| @@ 363-372 (lines=10) @@ | ||
| 360 | /** |
|
| 361 | * {@inheritdoc} |
|
| 362 | */ |
|
| 363 | protected function getRenameTableInstructions($tableName, $newTableName) |
|
| 364 | { |
|
| 365 | $sql = sprintf( |
|
| 366 | 'ALTER TABLE %s RENAME TO %s', |
|
| 367 | $this->quoteTableName($tableName), |
|
| 368 | $this->quoteColumnName($newTableName) |
|
| 369 | ); |
|
| 370 | ||
| 371 | return new AlterInstructions([], [$sql]); |
|
| 372 | } |
|
| 373 | ||
| 374 | /** |
|
| 375 | * {@inheritdoc} |
|
| @@ 314-323 (lines=10) @@ | ||
| 311 | /** |
|
| 312 | * {@inheritdoc} |
|
| 313 | */ |
|
| 314 | protected function getRenameTableInstructions($tableName, $newTableName) |
|
| 315 | { |
|
| 316 | $sql = sprintf( |
|
| 317 | 'ALTER TABLE %s RENAME TO %s', |
|
| 318 | $this->quoteTableName($tableName), |
|
| 319 | $this->quoteTableName($newTableName) |
|
| 320 | ); |
|
| 321 | ||
| 322 | return new AlterInstructions([], [$sql]); |
|
| 323 | } |
|
| 324 | ||
| 325 | /** |
|
| 326 | * {@inheritdoc} |
|