| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 33 | public function change() |
||
| 34 | { |
||
| 35 | $table = $this->table('oauth_refresh_tokens'); |
||
| 36 | $table |
||
| 37 | ->addColumn('identifier', 'string', ['limit' => 100]) |
||
| 38 | ->addColumn('access_token_id', 'integer', []) |
||
| 39 | ->addColumn('expires_at', 'datetime', ['null' => true]) |
||
| 40 | ->addColumn('created', 'datetime') |
||
| 41 | ->addColumn('updated', 'datetime', ['null' => true]) |
||
| 42 | ->addIndex(['identifier'], ['unique' => true]) |
||
| 43 | ->addIndex(['access_token_id'], []) |
||
| 44 | ->create(); |
||
| 45 | } |
||
| 47 |