| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function safeUp() |
||
| 14 | { |
||
| 15 | $this->alterColumn('{{record}}', 'date', $this->timestamp()->defaultValue(null)); |
||
| 16 | $this->alterColumn('{{transaction}}', 'date', $this->timestamp()->defaultValue(null)); |
||
| 17 | |||
| 18 | $this->addColumn('{{record}}', 'transaction_type', $this->tinyInteger()->after('account_id')); |
||
| 19 | $this->addColumn('{{record}}', 'source', $this->tinyInteger()->after('date')); |
||
| 20 | } |
||
| 49 |