Completed
Pull Request — master (#6563)
by Joas
14:47
created

Version1002Date20170926101419::getColumnsByTable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
namespace OCA\TwoFactorBackupCodes\Migration;
3
4
use Doctrine\DBAL\Schema\Schema;
5
use OCP\Migration\BigIntMigration;
6
use OCP\Migration\SimpleMigrationStep;
7
use OCP\Migration\IOutput;
8
9
/**
10
 * Auto-generated migration step: Please modify to your needs!
11
 */
12
class Version1002Date20170926101419 extends BigIntMigration {
13
14
	/**
15
	 * @return array Returns an array with the following structure
16
	 * ['table1' => ['column1', 'column2'], ...]
17
	 * @since 13.0.0
18
	 */
19
	protected function getColumnsByTable() {
20
		return [
21
			'twofactor_backupcodes' => ['id'],
22
		];
23
	}
24
25
}
26