| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | 4 | public static function compile(Grammar $grammar, Blueprint $blueprint, Fluent $command): string |
|
| 16 | { |
||
| 17 | 4 | return sprintf( |
|
| 18 | 4 | 'alter table %s attach partition %s %s', |
|
| 19 | 4 | $grammar->wrapTable($blueprint), |
|
| 20 | 4 | $command->get('partition'), |
|
| 21 | 4 | self::compileForValues($command) |
|
| 22 | 4 | ); |
|
| 50 |