|
@@ -9,7 +9,7 @@ discard block |
|
|
block discarded – undo |
|
9
|
9
|
return array( |
|
10
|
10
|
'table' => array( |
|
11
|
11
|
|
|
12
|
|
- 'fe_users' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
|
12
|
+ 'fe_users' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
13
|
13
|
|
|
14
|
14
|
$table = $schema->createTable( 'fe_users' ); |
|
15
|
15
|
|
|
@@ -69,14 +69,14 @@ discard block |
|
|
block discarded – undo |
|
69
|
69
|
$table->addColumn( 'latitude', 'decimal', ['precision' => 8, 'scale' => 6, 'notnull' => false] ); |
|
70
|
70
|
|
|
71
|
71
|
$table->setPrimaryKey( ['uid'], 'PRIMARY' ); |
|
72
|
|
- $table->addIndex( ['pid', 'username'],'fe_users_parent' ); |
|
73
|
|
- $table->addIndex( ['username'],'fe_users_username' ); |
|
74
|
|
- $table->addIndex( ['is_online'],'fe_users_is_online' ); |
|
|
72
|
+ $table->addIndex( ['pid', 'username'], 'fe_users_parent' ); |
|
|
73
|
+ $table->addIndex( ['username'], 'fe_users_username' ); |
|
|
74
|
+ $table->addIndex( ['is_online'], 'fe_users_is_online' ); |
|
75
|
75
|
|
|
76
|
76
|
return $schema; |
|
77
|
77
|
}, |
|
78
|
78
|
|
|
79
|
|
- 'fe_groups' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
|
79
|
+ 'fe_groups' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
80
|
80
|
|
|
81
|
81
|
$table = $schema->createTable( 'fe_groups' ); |
|
82
|
82
|
|
|
@@ -96,12 +96,12 @@ discard block |
|
|
block discarded – undo |
|
96
|
96
|
$table->addColumn( 'tx_phpunit_is_dummy_record', 'integer', ['unsigned' => true, 'length' => 1, 'default' => 0] ); |
|
97
|
97
|
|
|
98
|
98
|
$table->setPrimaryKey( ['uid'], 'PRIMARY' ); |
|
99
|
|
- $table->addIndex( ['pid', 'deleted', 'hidden'],'fe_groups_parent' ); |
|
|
99
|
+ $table->addIndex( ['pid', 'deleted', 'hidden'], 'fe_groups_parent' ); |
|
100
|
100
|
|
|
101
|
101
|
return $schema; |
|
102
|
102
|
}, |
|
103
|
103
|
|
|
104
|
|
- 'static_countries' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
|
104
|
+ 'static_countries' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
105
|
105
|
|
|
106
|
106
|
$table = $schema->createTable( 'static_countries' ); |
|
107
|
107
|
|
|
@@ -127,7 +127,7 @@ discard block |
|
|
block discarded – undo |
|
127
|
127
|
$table->addColumn( 'cn_uno_member', 'integer', ['length' => 3, 'unsigned' => true, 'default' => 0] ); |
|
128
|
128
|
|
|
129
|
129
|
$table->setPrimaryKey( ['uid'], 'PRIMARY' ); |
|
130
|
|
- $table->addIndex( ['pid'],'static_countries_parent' ); |
|
|
130
|
+ $table->addIndex( ['pid'], 'static_countries_parent' ); |
|
131
|
131
|
|
|
132
|
132
|
return $schema; |
|
133
|
133
|
}, |