@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'madmin_log' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'madmin_log' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'madmin_log' ); |
14 | 14 |
@@ -8,7 +8,8 @@ |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'madmin_log' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'madmin_log' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'madmin_log' ); |
14 | 15 |
@@ -8,7 +8,8 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_price_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_price_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'mshop_price_type' ); |
14 | 15 | |
@@ -31,7 +32,8 @@ discard block |
||
31 | 32 | return $schema; |
32 | 33 | }, |
33 | 34 | |
34 | - 'mshop_price' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | + 'mshop_price' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
36 | + { |
|
35 | 37 | |
36 | 38 | $table = $schema->createTable( 'mshop_price' ); |
37 | 39 | |
@@ -67,7 +69,8 @@ discard block |
||
67 | 69 | return $schema; |
68 | 70 | }, |
69 | 71 | |
70 | - 'mshop_price_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
72 | + 'mshop_price_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
73 | + { |
|
71 | 74 | |
72 | 75 | $table = $schema->createTable( 'mshop_price_list_type' ); |
73 | 76 | |
@@ -90,7 +93,8 @@ discard block |
||
90 | 93 | return $schema; |
91 | 94 | }, |
92 | 95 | |
93 | - 'mshop_price_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
96 | + 'mshop_price_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
97 | + { |
|
94 | 98 | |
95 | 99 | $table = $schema->createTable( 'mshop_price_list' ); |
96 | 100 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_price_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_price_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'mshop_price_type' ); |
14 | 14 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | return $schema; |
32 | 32 | }, |
33 | 33 | |
34 | - 'mshop_price' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
34 | + 'mshop_price' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | 35 | |
36 | 36 | $table = $schema->createTable( 'mshop_price' ); |
37 | 37 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $table->addColumn( 'status', 'smallint', [] ); |
50 | 50 | $table->addColumn( 'mtime', 'datetime', [] ); |
51 | 51 | $table->addColumn( 'ctime', 'datetime', [] ); |
52 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
52 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
53 | 53 | |
54 | 54 | $table->setPrimaryKey( array( 'id' ), 'pk_mspri_id' ); |
55 | 55 | $table->addIndex( array( 'siteid', 'domain', 'currencyid' ), 'idx_mspri_sid_dom_currid' ); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | return $schema; |
67 | 67 | }, |
68 | 68 | |
69 | - 'mshop_price_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
69 | + 'mshop_price_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
70 | 70 | |
71 | 71 | $table = $schema->createTable( 'mshop_price_list_type' ); |
72 | 72 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | return $schema; |
90 | 90 | }, |
91 | 91 | |
92 | - 'mshop_price_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
92 | + 'mshop_price_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
93 | 93 | |
94 | 94 | $table = $schema->createTable( 'mshop_price_list' ); |
95 | 95 |
@@ -8,7 +8,8 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_service_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_service_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'mshop_service_type' ); |
14 | 15 | |
@@ -31,7 +32,8 @@ discard block |
||
31 | 32 | return $schema; |
32 | 33 | }, |
33 | 34 | |
34 | - 'mshop_service' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | + 'mshop_service' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
36 | + { |
|
35 | 37 | |
36 | 38 | $table = $schema->createTable( 'mshop_service' ); |
37 | 39 | |
@@ -62,7 +64,8 @@ discard block |
||
62 | 64 | return $schema; |
63 | 65 | }, |
64 | 66 | |
65 | - 'mshop_service_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
67 | + 'mshop_service_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
68 | + { |
|
66 | 69 | |
67 | 70 | $table = $schema->createTable( 'mshop_service_list_type' ); |
68 | 71 | |
@@ -85,7 +88,8 @@ discard block |
||
85 | 88 | return $schema; |
86 | 89 | }, |
87 | 90 | |
88 | - 'mshop_service_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
91 | + 'mshop_service_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
92 | + { |
|
89 | 93 | |
90 | 94 | $table = $schema->createTable( 'mshop_service_list' ); |
91 | 95 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_service_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_service_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'mshop_service_type' ); |
14 | 14 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | return $schema; |
32 | 32 | }, |
33 | 33 | |
34 | - 'mshop_service' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
34 | + 'mshop_service' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | 35 | |
36 | 36 | $table = $schema->createTable( 'mshop_service' ); |
37 | 37 | |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $table->addColumn( 'status', 'smallint', [] ); |
47 | 47 | $table->addColumn( 'mtime', 'datetime', [] ); |
48 | 48 | $table->addColumn( 'ctime', 'datetime', [] ); |
49 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
49 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
50 | 50 | |
51 | 51 | $table->setPrimaryKey( array( 'id' ), 'pk_msser_id' ); |
52 | 52 | $table->addUniqueIndex( array( 'siteid', 'code' ), 'unq_msser_siteid_code' ); |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | return $schema; |
64 | 64 | }, |
65 | 65 | |
66 | - 'mshop_service_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
66 | + 'mshop_service_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
67 | 67 | |
68 | 68 | $table = $schema->createTable( 'mshop_service_list_type' ); |
69 | 69 | |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | return $schema; |
87 | 87 | }, |
88 | 88 | |
89 | - 'mshop_service_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
89 | + 'mshop_service_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
90 | 90 | |
91 | 91 | $table = $schema->createTable( 'mshop_service_list' ); |
92 | 92 |
@@ -8,7 +8,8 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'mshop_tag_type' ); |
14 | 15 | |
@@ -31,7 +32,8 @@ discard block |
||
31 | 32 | return $schema; |
32 | 33 | }, |
33 | 34 | |
34 | - 'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | + 'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
36 | + { |
|
35 | 37 | |
36 | 38 | $table = $schema->createTable( 'mshop_tag' ); |
37 | 39 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_tag_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'mshop_tag_type' ); |
14 | 14 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | return $schema; |
32 | 32 | }, |
33 | 33 | |
34 | - 'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
34 | + 'mshop_tag' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | 35 | |
36 | 36 | $table = $schema->createTable( 'mshop_tag' ); |
37 | 37 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $table->addColumn( 'label', 'string', array( 'length' => 255 ) ); |
44 | 44 | $table->addColumn( 'mtime', 'datetime', [] ); |
45 | 45 | $table->addColumn( 'ctime', 'datetime', [] ); |
46 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
46 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
47 | 47 | |
48 | 48 | $table->setPrimaryKey( array( 'id' ), 'pk_mstag_id' ); |
49 | 49 | $table->addUniqueIndex( array( 'siteid', 'domain', 'typeid', 'langid', 'label' ), 'unq_mstag_sid_dom_tid_lid_lab' ); |
@@ -8,7 +8,8 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'mshop_plugin_type' ); |
14 | 15 | |
@@ -31,7 +32,8 @@ discard block |
||
31 | 32 | return $schema; |
32 | 33 | }, |
33 | 34 | |
34 | - 'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | + 'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
36 | + { |
|
35 | 37 | |
36 | 38 | $table = $schema->createTable( 'mshop_plugin' ); |
37 | 39 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_plugin_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'mshop_plugin_type' ); |
14 | 14 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | return $schema; |
32 | 32 | }, |
33 | 33 | |
34 | - 'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
34 | + 'mshop_plugin' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | 35 | |
36 | 36 | $table = $schema->createTable( 'mshop_plugin' ); |
37 | 37 | |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $table->addColumn( 'status', 'smallint', [] ); |
46 | 46 | $table->addColumn( 'mtime', 'datetime', [] ); |
47 | 47 | $table->addColumn( 'ctime', 'datetime', [] ); |
48 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
48 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
49 | 49 | |
50 | 50 | $table->setPrimaryKey( array( 'id' ), 'pk_msplu_id' ); |
51 | 51 | $table->addUniqueIndex( array( 'siteid', 'typeid', 'provider' ), 'unq_msplu_sid_tid_prov' ); |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | 11 | |
12 | - 'mshop_coupon' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | + 'mshop_coupon' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
13 | 13 | |
14 | 14 | $table = $schema->createTable( 'mshop_coupon' ); |
15 | 15 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | return $schema; |
36 | 36 | }, |
37 | 37 | |
38 | - 'mshop_coupon_code' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
38 | + 'mshop_coupon_code' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
39 | 39 | |
40 | 40 | $table = $schema->createTable( 'mshop_coupon_code' ); |
41 | 41 |
@@ -9,7 +9,8 @@ discard block |
||
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | 11 | |
12 | - 'mshop_coupon' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | + 'mshop_coupon' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
13 | + { |
|
13 | 14 | |
14 | 15 | $table = $schema->createTable( 'mshop_coupon' ); |
15 | 16 | |
@@ -35,7 +36,8 @@ discard block |
||
35 | 36 | return $schema; |
36 | 37 | }, |
37 | 38 | |
38 | - 'mshop_coupon_code' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
39 | + 'mshop_coupon_code' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
40 | + { |
|
39 | 41 | |
40 | 42 | $table = $schema->createTable( 'mshop_coupon_code' ); |
41 | 43 |
@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'madmin_queue' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'madmin_queue' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'madmin_queue' ); |
14 | 14 |
@@ -8,7 +8,8 @@ |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'madmin_queue' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'madmin_queue' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'madmin_queue' ); |
14 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | 11 | |
12 | - 'mshop_locale_site' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | + 'mshop_locale_site' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
13 | 13 | |
14 | 14 | $table = $schema->createTable( 'mshop_locale_site' ); |
15 | 15 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | return $schema; |
35 | 35 | }, |
36 | 36 | |
37 | - 'mshop_locale_language' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
37 | + 'mshop_locale_language' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
38 | 38 | |
39 | 39 | $table = $schema->createTable( 'mshop_locale_language' ); |
40 | 40 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | return $schema; |
57 | 57 | }, |
58 | 58 | |
59 | - 'mshop_locale_currency' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
59 | + 'mshop_locale_currency' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
60 | 60 | |
61 | 61 | $table = $schema->createTable( 'mshop_locale_currency' ); |
62 | 62 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | return $schema; |
79 | 79 | }, |
80 | 80 | |
81 | - 'mshop_locale' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
81 | + 'mshop_locale' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
82 | 82 | |
83 | 83 | $table = $schema->createTable( 'mshop_locale' ); |
84 | 84 |
@@ -9,7 +9,8 @@ discard block |
||
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | 11 | |
12 | - 'mshop_locale_site' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | + 'mshop_locale_site' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
13 | + { |
|
13 | 14 | |
14 | 15 | $table = $schema->createTable( 'mshop_locale_site' ); |
15 | 16 | |
@@ -34,7 +35,8 @@ discard block |
||
34 | 35 | return $schema; |
35 | 36 | }, |
36 | 37 | |
37 | - 'mshop_locale_language' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
38 | + 'mshop_locale_language' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
39 | + { |
|
38 | 40 | |
39 | 41 | $table = $schema->createTable( 'mshop_locale_language' ); |
40 | 42 | |
@@ -56,7 +58,8 @@ discard block |
||
56 | 58 | return $schema; |
57 | 59 | }, |
58 | 60 | |
59 | - 'mshop_locale_currency' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
61 | + 'mshop_locale_currency' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
62 | + { |
|
60 | 63 | |
61 | 64 | $table = $schema->createTable( 'mshop_locale_currency' ); |
62 | 65 | |
@@ -78,7 +81,8 @@ discard block |
||
78 | 81 | return $schema; |
79 | 82 | }, |
80 | 83 | |
81 | - 'mshop_locale' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
84 | + 'mshop_locale' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
85 | + { |
|
82 | 86 | |
83 | 87 | $table = $schema->createTable( 'mshop_locale' ); |
84 | 88 |
@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'madmin_job' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'madmin_job' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'madmin_job' ); |
14 | 14 |
@@ -8,7 +8,8 @@ |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'madmin_job' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'madmin_job' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'madmin_job' ); |
14 | 15 |