@@ -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' ); |
@@ -8,7 +8,8 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_media_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_media_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'mshop_media_type' ); |
14 | 15 | |
@@ -31,7 +32,8 @@ discard block |
||
31 | 32 | return $schema; |
32 | 33 | }, |
33 | 34 | |
34 | - 'mshop_media' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | + 'mshop_media' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
36 | + { |
|
35 | 37 | |
36 | 38 | $table = $schema->createTable( 'mshop_media' ); |
37 | 39 | |
@@ -63,7 +65,8 @@ discard block |
||
63 | 65 | return $schema; |
64 | 66 | }, |
65 | 67 | |
66 | - 'mshop_media_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
68 | + 'mshop_media_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
69 | + { |
|
67 | 70 | |
68 | 71 | $table = $schema->createTable( 'mshop_media_list_type' ); |
69 | 72 | |
@@ -86,7 +89,8 @@ discard block |
||
86 | 89 | return $schema; |
87 | 90 | }, |
88 | 91 | |
89 | - 'mshop_media_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
92 | + 'mshop_media_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
93 | + { |
|
90 | 94 | |
91 | 95 | $table = $schema->createTable( 'mshop_media_list' ); |
92 | 96 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_media_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_media_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'mshop_media_type' ); |
14 | 14 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | return $schema; |
32 | 32 | }, |
33 | 33 | |
34 | - 'mshop_media' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
34 | + 'mshop_media' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
35 | 35 | |
36 | 36 | $table = $schema->createTable( 'mshop_media' ); |
37 | 37 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | $table->addColumn( 'status', 'smallint', [] ); |
48 | 48 | $table->addColumn( 'mtime', 'datetime', [] ); |
49 | 49 | $table->addColumn( 'ctime', 'datetime', [] ); |
50 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
50 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
51 | 51 | |
52 | 52 | $table->setPrimaryKey( array( 'id' ), 'pk_msmed_id' ); |
53 | 53 | $table->addIndex( array( 'siteid', 'domain', 'langid' ), 'idx_msmed_sid_dom_langid' ); |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | return $schema; |
63 | 63 | }, |
64 | 64 | |
65 | - 'mshop_media_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
65 | + 'mshop_media_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
66 | 66 | |
67 | 67 | $table = $schema->createTable( 'mshop_media_list_type' ); |
68 | 68 | |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | return $schema; |
86 | 86 | }, |
87 | 87 | |
88 | - 'mshop_media_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
88 | + 'mshop_media_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
89 | 89 | |
90 | 90 | $table = $schema->createTable( 'mshop_media_list' ); |
91 | 91 |
@@ -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 |
@@ -8,7 +8,8 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_customer' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_customer' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
12 | + { |
|
12 | 13 | |
13 | 14 | $table = $schema->createTable( 'mshop_customer' ); |
14 | 15 | |
@@ -57,7 +58,8 @@ discard block |
||
57 | 58 | return $schema; |
58 | 59 | }, |
59 | 60 | |
60 | - 'mshop_customer_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
61 | + 'mshop_customer_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
62 | + { |
|
61 | 63 | |
62 | 64 | $table = $schema->createTable( 'mshop_customer_address' ); |
63 | 65 | |
@@ -106,7 +108,8 @@ discard block |
||
106 | 108 | return $schema; |
107 | 109 | }, |
108 | 110 | |
109 | - 'mshop_customer_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
111 | + 'mshop_customer_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
112 | + { |
|
110 | 113 | |
111 | 114 | $table = $schema->createTable( 'mshop_customer_list_type' ); |
112 | 115 | |
@@ -129,7 +132,8 @@ discard block |
||
129 | 132 | return $schema; |
130 | 133 | }, |
131 | 134 | |
132 | - 'mshop_customer_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
135 | + 'mshop_customer_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
136 | + { |
|
133 | 137 | |
134 | 138 | $table = $schema->createTable( 'mshop_customer_list' ); |
135 | 139 | |
@@ -165,7 +169,8 @@ discard block |
||
165 | 169 | return $schema; |
166 | 170 | }, |
167 | 171 | |
168 | - 'mshop_customer_group' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
172 | + 'mshop_customer_group' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
173 | + { |
|
169 | 174 | |
170 | 175 | $table = $schema->createTable( 'mshop_customer_group' ); |
171 | 176 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | - 'mshop_customer' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
11 | + 'mshop_customer' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | 12 | |
13 | 13 | $table = $schema->createTable( 'mshop_customer' ); |
14 | 14 | |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | $table->addColumn( 'status', 'smallint', [] ); |
43 | 43 | $table->addColumn( 'mtime', 'datetime', [] ); |
44 | 44 | $table->addColumn( 'ctime', 'datetime', [] ); |
45 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
45 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
46 | 46 | |
47 | 47 | $table->setPrimaryKey( array( 'id' ), 'pk_mscus_id' ); |
48 | 48 | $table->addUniqueIndex( array( 'siteid', 'code' ), 'unq_mscus_sid_code' ); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | return $schema; |
57 | 57 | }, |
58 | 58 | |
59 | - 'mshop_customer_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
59 | + 'mshop_customer_address' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
60 | 60 | |
61 | 61 | $table = $schema->createTable( 'mshop_customer_address' ); |
62 | 62 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | $table->addColumn( 'pos', 'smallint', [] ); |
88 | 88 | $table->addColumn( 'mtime', 'datetime', [] ); |
89 | 89 | $table->addColumn( 'ctime', 'datetime', [] ); |
90 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
90 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
91 | 91 | |
92 | 92 | $table->setPrimaryKey( array( 'id' ), 'pk_mscusad_id' ); |
93 | 93 | $table->addIndex( array( 'parentid' ), 'fk_mscusad_pid' ); |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | return $schema; |
105 | 105 | }, |
106 | 106 | |
107 | - 'mshop_customer_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
107 | + 'mshop_customer_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
108 | 108 | |
109 | 109 | $table = $schema->createTable( 'mshop_customer_list_type' ); |
110 | 110 | |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | return $schema; |
128 | 128 | }, |
129 | 129 | |
130 | - 'mshop_customer_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
130 | + 'mshop_customer_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
131 | 131 | |
132 | 132 | $table = $schema->createTable( 'mshop_customer_list' ); |
133 | 133 | |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | return $schema; |
166 | 166 | }, |
167 | 167 | |
168 | - 'mshop_customer_group' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
168 | + 'mshop_customer_group' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
169 | 169 | |
170 | 170 | $table = $schema->createTable( 'mshop_customer_group' ); |
171 | 171 |
@@ -9,7 +9,8 @@ discard block |
||
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | 11 | |
12 | - 'mshop_supplier' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | + 'mshop_supplier' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
13 | + { |
|
13 | 14 | |
14 | 15 | $table = $schema->createTable( 'mshop_supplier' ); |
15 | 16 | |
@@ -28,7 +29,8 @@ discard block |
||
28 | 29 | return $schema; |
29 | 30 | }, |
30 | 31 | |
31 | - 'mshop_supplier_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
32 | + 'mshop_supplier_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
33 | + { |
|
32 | 34 | |
33 | 35 | $table = $schema->createTable( 'mshop_supplier_address' ); |
34 | 36 | |
@@ -69,7 +71,8 @@ discard block |
||
69 | 71 | return $schema; |
70 | 72 | }, |
71 | 73 | |
72 | - 'mshop_supplier_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
74 | + 'mshop_supplier_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
75 | + { |
|
73 | 76 | |
74 | 77 | $table = $schema->createTable( 'mshop_supplier_list_type' ); |
75 | 78 | |
@@ -92,7 +95,8 @@ discard block |
||
92 | 95 | return $schema; |
93 | 96 | }, |
94 | 97 | |
95 | - 'mshop_supplier_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
98 | + 'mshop_supplier_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
99 | + { |
|
96 | 100 | |
97 | 101 | $table = $schema->createTable( 'mshop_supplier_list' ); |
98 | 102 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | return array( |
10 | 10 | 'table' => array( |
11 | 11 | |
12 | - 'mshop_supplier' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
12 | + 'mshop_supplier' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
13 | 13 | |
14 | 14 | $table = $schema->createTable( 'mshop_supplier' ); |
15 | 15 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | $table->addColumn( 'status', 'smallint', [] ); |
21 | 21 | $table->addColumn( 'mtime', 'datetime', [] ); |
22 | 22 | $table->addColumn( 'ctime', 'datetime', [] ); |
23 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
23 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
24 | 24 | |
25 | 25 | $table->setPrimaryKey( array( 'id' ), 'pk_mssup_id' ); |
26 | 26 | $table->addUniqueIndex( array( 'siteid', 'code' ), 'unq_mssup_sid_code' ); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | return $schema; |
31 | 31 | }, |
32 | 32 | |
33 | - 'mshop_supplier_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
33 | + 'mshop_supplier_address' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
34 | 34 | |
35 | 35 | $table = $schema->createTable( 'mshop_supplier_address' ); |
36 | 36 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | $table->addColumn( 'pos', 'smallint', [] ); |
62 | 62 | $table->addColumn( 'mtime', 'datetime', [] ); |
63 | 63 | $table->addColumn( 'ctime', 'datetime', [] ); |
64 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
64 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
65 | 65 | |
66 | 66 | $table->setPrimaryKey( array( 'id' ), 'pk_mssupad_id' ); |
67 | 67 | $table->addIndex( array( 'siteid', 'parentid' ), 'idx_mssupad_sid_rid' ); |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | return $schema; |
74 | 74 | }, |
75 | 75 | |
76 | - 'mshop_supplier_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
76 | + 'mshop_supplier_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
77 | 77 | |
78 | 78 | $table = $schema->createTable( 'mshop_supplier_list_type' ); |
79 | 79 | |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | return $schema; |
97 | 97 | }, |
98 | 98 | |
99 | - 'mshop_supplier_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
99 | + 'mshop_supplier_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
100 | 100 | |
101 | 101 | $table = $schema->createTable( 'mshop_supplier_list' ); |
102 | 102 |