| @@ 33-38 (lines=6) @@ | ||
| 30 | ]); |
|
| 31 | } |
|
| 32 | ||
| 33 | if (!$table->hasColumn('hide_download')) { |
|
| 34 | $table->addColumn('hide_download', 'boolean', [ |
|
| 35 | 'notnull' => true, |
|
| 36 | 'default' => false, |
|
| 37 | ]); |
|
| 38 | } |
|
| 39 | ||
| 40 | if (!$table->hasColumn('share')) { |
|
| 41 | $table->addColumn('share', 'string', [ |
|
| @@ 47-52 (lines=6) @@ | ||
| 44 | ]); |
|
| 45 | } |
|
| 46 | ||
| 47 | if (!$table->hasColumn('direct')) { |
|
| 48 | $table->addColumn('direct', 'boolean', [ |
|
| 49 | 'notnull' => true, |
|
| 50 | 'default' => false, |
|
| 51 | ]); |
|
| 52 | } |
|
| 53 | if (!$table->hasColumn('is_remote_token')) { |
|
| 54 | $table->addColumn('is_remote_token', 'boolean', [ |
|
| 55 | 'notnull' => true, |
|
| @@ 53-58 (lines=6) @@ | ||
| 50 | 'default' => false, |
|
| 51 | ]); |
|
| 52 | } |
|
| 53 | if (!$table->hasColumn('is_remote_token')) { |
|
| 54 | $table->addColumn('is_remote_token', 'boolean', [ |
|
| 55 | 'notnull' => true, |
|
| 56 | 'default' => false, |
|
| 57 | ]); |
|
| 58 | } |
|
| 59 | ||
| 60 | if (!$table->hasColumn('remote_server')) { |
|
| 61 | $table->addColumn('remote_server', 'string', [ |
|