| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function testGetCreateTableSQLWithColumnCollation() : void |
||
| 21 | { |
||
| 22 | $table = new Table('foo'); |
||
| 23 | $table->addColumn('id', 'string'); |
||
| 24 | $table->addOption('comment', 'foo'); |
||
| 25 | self::assertSame( |
||
| 26 | [ |
||
| 27 | 'CREATE TABLE foo (id VARCHAR(255) NOT NULL)', |
||
| 28 | "COMMENT ON TABLE foo IS 'foo'", |
||
| 29 | ], |
||
| 30 | $this->platform->getCreateTableSQL($table), |
||
| 31 | 'Comments are added to table.' |
||
| 32 | ); |
||
| 35 |