Code Duplication    Length = 6-6 lines in 3 locations

lib/Migration/Version030702Date20200626072306.php 3 locations

@@ 44-49 (lines=6) @@
41
			]);
42
		}
43
44
		if (!$table->hasColumn('hide_download')) {
45
			$table->addColumn('hide_download', 'boolean', [
46
				'notnull' => true,
47
				'default' => false,
48
			]);
49
		}
50
51
		if (!$table->hasColumn('share')) {
52
			$table->addColumn('share', 'string', [
@@ 58-63 (lines=6) @@
55
			]);
56
		}
57
58
		if (!$table->hasColumn('direct')) {
59
			$table->addColumn('direct', 'boolean', [
60
				'notnull' => true,
61
				'default' => false,
62
			]);
63
		}
64
		if (!$table->hasColumn('is_remote_token')) {
65
			$table->addColumn('is_remote_token', 'boolean', [
66
				'notnull' => true,
@@ 64-69 (lines=6) @@
61
				'default' => false,
62
			]);
63
		}
64
		if (!$table->hasColumn('is_remote_token')) {
65
			$table->addColumn('is_remote_token', 'boolean', [
66
				'notnull' => true,
67
				'default' => false,
68
			]);
69
		}
70
71
		if (!$table->hasColumn('remote_server')) {
72
			$table->addColumn('remote_server', 'string', [