@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | return; |
| 19 | 19 | |
| 20 | - if($this->connection->getDatabasePlatform()->getName() == "mysql"){ |
|
| 20 | + if ($this->connection->getDatabasePlatform()->getName() == "mysql") { |
|
| 21 | 21 | // this up() migration is auto-generated, please modify it to your needs |
| 22 | 22 | $this->addSql("alter table dtb_base_info collate utf8_general_ci ;"); |
| 23 | 23 | $this->addSql("alter table dtb_block collate utf8_general_ci ;"); |
@@ -121,14 +121,14 @@ |
||
| 121 | 121 | $sql = sprintf( |
| 122 | 122 | "EXTRACT(%s FROM %s %s $op INTERVAL '$second SECONDS')", |
| 123 | 123 | $this->field, |
| 124 | - (string)$this->type, |
|
| 124 | + (string) $this->type, |
|
| 125 | 125 | $this->source->dispatch($sqlWalker)); |
| 126 | 126 | break; |
| 127 | 127 | default: |
| 128 | 128 | $sql = sprintf( |
| 129 | 129 | "EXTRACT(%s FROM %s %s $op INTERVAL $second SECOND)", |
| 130 | 130 | $this->field, |
| 131 | - (string)$this->type, |
|
| 131 | + (string) $this->type, |
|
| 132 | 132 | $this->source->dispatch($sqlWalker)); |
| 133 | 133 | } |
| 134 | 134 | |