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