@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | |
17 | 17 | 'table' => array( |
18 | 18 | |
19 | - 'mshop_order_base' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
19 | + 'mshop_order_base' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
20 | 20 | |
21 | 21 | $table = $schema->createTable( 'mshop_order_base' ); |
22 | 22 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | $table->addColumn( 'status', 'smallint', [] ); |
36 | 36 | $table->addColumn( 'mtime', 'datetime', [] ); |
37 | 37 | $table->addColumn( 'ctime', 'datetime', [] ); |
38 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
38 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
39 | 39 | |
40 | 40 | $table->setPrimaryKey( array( 'id' ), 'pk_msordba_id' ); |
41 | 41 | $table->addIndex( array( 'sitecode', 'customerid' ), 'idx_msordba_scode_custid' ); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | return $schema; |
46 | 46 | }, |
47 | 47 | |
48 | - 'mshop_order_base_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
48 | + 'mshop_order_base_address' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
49 | 49 | |
50 | 50 | $table = $schema->createTable( 'mshop_order_base_address' ); |
51 | 51 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $table->addColumn( 'latitude', 'decimal', array( 'precision' => 8, 'scale' => 6, 'notnull' => false ) ); |
77 | 77 | $table->addColumn( 'mtime', 'datetime', [] ); |
78 | 78 | $table->addColumn( 'ctime', 'datetime', [] ); |
79 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
79 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
80 | 80 | |
81 | 81 | $table->setPrimaryKey( array( 'id' ), 'pk_msordbaad_id' ); |
82 | 82 | $table->addUniqueIndex( array( 'baseid', 'type' ), 'unq_msordbaad_bid_type' ); |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | return $schema; |
95 | 95 | }, |
96 | 96 | |
97 | - 'mshop_order_base_product' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
97 | + 'mshop_order_base_product' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
98 | 98 | |
99 | 99 | $table = $schema->createTable( 'mshop_order_base_product' ); |
100 | 100 | |
@@ -104,8 +104,8 @@ discard block |
||
104 | 104 | $table->addColumn( 'ordprodid', 'bigint', array( 'notnull' => false ) ); |
105 | 105 | $table->addColumn( 'type', 'string', array( 'length' => 32 ) ); |
106 | 106 | $table->addColumn( 'prodid', 'string', array( 'length' => 32 ) ); |
107 | - $table->addColumn( 'prodcode', 'string', array( 'length' => 32 ) ); |
|
108 | - $table->addColumn( 'suppliercode', 'string', array( 'length' => 32 ) ); |
|
107 | + $table->addColumn( 'prodcode', 'string', array( 'length' => 32 ) ); |
|
108 | + $table->addColumn( 'suppliercode', 'string', array( 'length' => 32 ) ); |
|
109 | 109 | $table->addColumn( 'stocktype', 'string', array( 'length' => 32 ) ); |
110 | 110 | $table->addColumn( 'name', 'text', array( 'length' => 0xffff ) ); |
111 | 111 | $table->addColumn( 'mediaurl', 'string', array( 'length' => 255 ) ); |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | $table->addColumn( 'status', 'smallint', array( 'default' => -1 ) ); |
124 | 124 | $table->addColumn( 'mtime', 'datetime', [] ); |
125 | 125 | $table->addColumn( 'ctime', 'datetime', [] ); |
126 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
126 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
127 | 127 | |
128 | 128 | $table->setPrimaryKey( array( 'id' ), 'pk_msordbapr_id' ); |
129 | 129 | $table->addUniqueIndex( array( 'baseid', 'pos' ), 'unq_msordbapr_bid_pos' ); |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | return $schema; |
138 | 138 | }, |
139 | 139 | |
140 | - 'mshop_order_base_product_attr' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
140 | + 'mshop_order_base_product_attr' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
141 | 141 | |
142 | 142 | $table = $schema->createTable( 'mshop_order_base_product_attr' ); |
143 | 143 | |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | $table->addColumn( 'quantity', 'integer', [] ); |
153 | 153 | $table->addColumn( 'mtime', 'datetime', [] ); |
154 | 154 | $table->addColumn( 'ctime', 'datetime', [] ); |
155 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
155 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
156 | 156 | |
157 | 157 | $table->setPrimaryKey( array( 'id' ), 'pk_msordbaprat_id' ); |
158 | 158 | $table->addUniqueIndex( array( 'ordprodid', 'attrid', 'type', 'code' ), 'unq_msordbaprat_oid_aid_ty_cd' ); |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | return $schema; |
165 | 165 | }, |
166 | 166 | |
167 | - 'mshop_order_base_service' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
167 | + 'mshop_order_base_service' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
168 | 168 | |
169 | 169 | $table = $schema->createTable( 'mshop_order_base_service' ); |
170 | 170 | |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | $table->addColumn( 'taxflag', 'smallint', [] ); |
186 | 186 | $table->addColumn( 'mtime', 'datetime', [] ); |
187 | 187 | $table->addColumn( 'ctime', 'datetime', [] ); |
188 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
188 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
189 | 189 | |
190 | 190 | $table->setPrimaryKey( array( 'id' ), 'pk_msordbase_id' ); |
191 | 191 | $table->addUniqueIndex( array( 'siteid', 'baseid', 'code', 'type' ), 'unq_msordbase_sid_bid_cd_typ' ); |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | return $schema; |
199 | 199 | }, |
200 | 200 | |
201 | - 'mshop_order_base_service_attr' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
201 | + 'mshop_order_base_service_attr' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
202 | 202 | |
203 | 203 | $table = $schema->createTable( 'mshop_order_base_service_attr' ); |
204 | 204 | |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | $table->addColumn( 'quantity', 'integer', [] ); |
214 | 214 | $table->addColumn( 'mtime', 'datetime', [] ); |
215 | 215 | $table->addColumn( 'ctime', 'datetime', [] ); |
216 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
216 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
217 | 217 | |
218 | 218 | $table->setPrimaryKey( array( 'id' ), 'pk_msordbaseat_id' ); |
219 | 219 | $table->addUniqueIndex( array( 'ordservid', 'attrid', 'type', 'code' ), 'unq_msordbaseat_oid_aid_ty_cd' ); |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | return $schema; |
226 | 226 | }, |
227 | 227 | |
228 | - 'mshop_order_base_coupon' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
228 | + 'mshop_order_base_coupon' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
229 | 229 | |
230 | 230 | $table = $schema->createTable( 'mshop_order_base_coupon' ); |
231 | 231 | |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | $table->addColumn( 'code', 'string', array( 'length' => 32 ) ); |
237 | 237 | $table->addColumn( 'mtime', 'datetime', [] ); |
238 | 238 | $table->addColumn( 'ctime', 'datetime', [] ); |
239 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
239 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
240 | 240 | |
241 | 241 | $table->setPrimaryKey( array( 'id' ), 'pk_msordbaco_id' ); |
242 | 242 | $table->addIndex( array( 'siteid', 'baseid', 'code' ), 'idx_msordbaco_sid_bid_code' ); |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | return $schema; |
253 | 253 | }, |
254 | 254 | |
255 | - 'mshop_order' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
255 | + 'mshop_order' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
256 | 256 | |
257 | 257 | $table = $schema->createTable( 'mshop_order' ); |
258 | 258 | |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | $table->addColumn( 'chour', 'string', array( 'length' => 2, 'fixed' => true ) ); |
273 | 273 | $table->addColumn( 'ctime', 'datetime', [] ); |
274 | 274 | $table->addColumn( 'mtime', 'datetime', [] ); |
275 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
275 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
276 | 276 | |
277 | 277 | $table->setPrimaryKey( array( 'id' ), 'pk_msord_id' ); |
278 | 278 | $table->addIndex( array( 'siteid', 'type' ), 'idx_msord_sid_type' ); |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | return $schema; |
297 | 297 | }, |
298 | 298 | |
299 | - 'mshop_order_status' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
299 | + 'mshop_order_status' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
300 | 300 | |
301 | 301 | $table = $schema->createTable( 'mshop_order_status' ); |
302 | 302 | |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | $table->addColumn( 'value', 'string', array( 'length' => 32 ) ); |
308 | 308 | $table->addColumn( 'mtime', 'datetime', [] ); |
309 | 309 | $table->addColumn( 'ctime', 'datetime', [] ); |
310 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
310 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
311 | 311 | |
312 | 312 | $table->setPrimaryKey( array( 'id' ), 'pk_msordst_id' ); |
313 | 313 | $table->addIndex( array( 'siteid', 'parentid', 'type', 'value' ), 'idx_msordstatus_val_sid' ); |