hasTable('known_users')) { $table = $schema->createTable('known_users'); // Auto increment id $table->addColumn('id', Types::BIGINT, [ 'autoincrement' => true, 'notnull' => true, ]); $table->addColumn('known_to', Types::STRING, [ 'notnull' => true, 'length' => 255, ]); $table->addColumn('known_user', Types::STRING, [ 'notnull' => true, 'length' => 255, ]); $table->setPrimaryKey(['id']); $table->addIndex(['known_to'], 'ku_known_to'); return $schema; } return null; } } h-6.0'>branch-6.0 Continuous Inspection: https://github.com/SonarSource/sonarqubewww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/HEADER
blob: c083bd12bdb15ded2ff1744090bf5908788bd0c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17