| Total Complexity | 5 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 3 | class m131004_175217_add_ipaddress_column extends AddColumnMigration |
||
| 4 | { |
||
| 5 | |||
| 6 | protected function getColumnName() |
||
| 7 | { |
||
| 8 | return 'source_address'; |
||
| 9 | } |
||
| 10 | |||
| 11 | protected function getColumnType() |
||
| 12 | { |
||
| 13 | return 'VARCHAR(45)'; |
||
| 14 | } |
||
| 15 | |||
| 16 | protected function getTableName() |
||
| 17 | { |
||
| 18 | return 'log'; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function up() |
||
| 29 | } |
||
| 30 | |||
| 31 | } |
||
| 32 |