|
@@ -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
|
|
|
@@ -67,15 +67,15 @@ discard block |
|
|
block discarded – undo |
|
67
|
67
|
$table->addColumn( 'longitude', 'decimal', ['precision' => 8, 'scale' => 6, 'notnull' => false] ); |
|
68
|
68
|
$table->addColumn( 'latitude', 'decimal', ['precision' => 8, 'scale' => 6, 'notnull' => false] ); |
|
69
|
69
|
|
|
70
|
|
- $table->setPrimaryKey( ['uid'],'PRIMARY' ); |
|
71
|
|
- $table->addIndex( ['pid'],'parent' ); |
|
72
|
|
- $table->addIndex( ['username'],'username' ); |
|
73
|
|
- $table->addIndex( ['is_online'],'is_online' ); |
|
|
70
|
+ $table->setPrimaryKey( ['uid'], 'PRIMARY' ); |
|
|
71
|
+ $table->addIndex( ['pid'], 'parent' ); |
|
|
72
|
+ $table->addIndex( ['username'], 'username' ); |
|
|
73
|
+ $table->addIndex( ['is_online'], 'is_online' ); |
|
74
|
74
|
|
|
75
|
75
|
return $schema; |
|
76
|
76
|
}, |
|
77
|
77
|
|
|
78
|
|
- 'fe_groups' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
|
78
|
+ 'fe_groups' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
79
|
79
|
|
|
80
|
80
|
$table = $schema->createTable( 'fe_groups' ); |
|
81
|
81
|
|
|
@@ -94,13 +94,13 @@ discard block |
|
|
block discarded – undo |
|
94
|
94
|
$table->addColumn( 'felogin_redirectPid', 'text', ['length' => 0xff, 'notnull' => false] ); |
|
95
|
95
|
$table->addColumn( 'tx_phpunit_is_dummy_record', 'integer', ['unsigned' => true, 'length' => 1, 'default' => 0] ); |
|
96
|
96
|
|
|
97
|
|
- $table->setPrimaryKey( ['uid'],'PRIMARY' ); |
|
98
|
|
- $table->addIndex( ['pid'],'parent' ); |
|
|
97
|
+ $table->setPrimaryKey( ['uid'], 'PRIMARY' ); |
|
|
98
|
+ $table->addIndex( ['pid'], 'parent' ); |
|
99
|
99
|
|
|
100
|
100
|
return $schema; |
|
101
|
101
|
}, |
|
102
|
102
|
|
|
103
|
|
- 'static_countries' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
|
103
|
+ 'static_countries' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
104
|
104
|
|
|
105
|
105
|
$table = $schema->createTable( 'static_countries' ); |
|
106
|
106
|
|
|
@@ -125,8 +125,8 @@ discard block |
|
|
block discarded – undo |
|
125
|
125
|
$table->addColumn( 'cn_short_en', 'string', ['length' => 50, 'default' => ''] ); |
|
126
|
126
|
$table->addColumn( 'cn_uno_member', 'integer', ['length' => 3, 'unsigned' => true, 'default' => 0] ); |
|
127
|
127
|
|
|
128
|
|
- $table->setPrimaryKey( ['uid'],'PRIMARY' ); |
|
129
|
|
- $table->addIndex( ['pid'],'parent' ); |
|
|
128
|
+ $table->setPrimaryKey( ['uid'], 'PRIMARY' ); |
|
|
129
|
+ $table->addIndex( ['pid'], 'parent' ); |
|
130
|
130
|
|
|
131
|
131
|
return $schema; |
|
132
|
132
|
}, |