@@ -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 | |
@@ -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 | |