Code Duplication    Length = 8-8 lines in 2 locations

lib/Migration/Version0021Date20210105123456.php 2 locations

@@ 116-123 (lines=8) @@
113
114
		try {
115
			$circles = $schema->getTable('circle_members');
116
			if (!$circles->hasColumn('single_id')) {
117
				$circles->addColumn(
118
					'single_id', 'string', [
119
								   'notnull' => false,
120
								   'length'  => 15
121
							   ]
122
				);
123
			}
124
			if (!$circles->hasColumn('circle_source')) {
125
				$circles->addColumn(
126
					'circle_source', 'string', [
@@ 124-131 (lines=8) @@
121
							   ]
122
				);
123
			}
124
			if (!$circles->hasColumn('circle_source')) {
125
				$circles->addColumn(
126
					'circle_source', 'string', [
127
									   'notnull' => false,
128
									   'length'  => 63
129
								   ]
130
				);
131
			}
132
		} catch (SchemaException $e) {
133
		}
134