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