Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function setComments(OracleBlueprint $blueprint) |
||
28 | { |
||
29 | // Comment set by $table->comment('comment'); |
||
30 | if ($blueprint->commentTable != null) |
||
31 | { |
||
32 | $this->connection->statement(sprintf('comment on table %s is \'%s\'', $blueprint->getTable(), $blueprint->commentTable)); |
||
33 | } |
||
34 | |||
35 | // Comments set by $table->string('column')->comment('comment'); |
||
36 | $this->commentColumns($blueprint->getTable(), $blueprint->getColumns()); |
||
37 | |||
38 | // Comments set by $table->commentColumn('column', 'comment'); |
||
39 | $this->commentColumns($blueprint->getTable(), $blueprint->commentColumn); |
||
40 | } |
||
41 | |||
59 |