Skip to content

Commit

Permalink
mysql 8
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyraul committed Jun 23, 2020
1 parent 882c0d0 commit 75e5d20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4
#- 7.4

before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
Expand Down
1 change: 0 additions & 1 deletion src/Jeeves/Util/XmlManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ private function getColumn($column, $param)
$type = [
'identity' => var_export($param['identity'] ?? false, true), //autoinrement
'unsigned' => var_export($param['unsigned'] ?? false, true),
'padding' => var_export($param['padding'] ?? 10, true),
];
break;
case 'real':
Expand Down
8 changes: 4 additions & 4 deletions test/Expectations/Crud/etc/db_schema.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0"?>
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="mygento_sample_module_customeraddress" resource="default" engine="innodb" comment="Table for Customer Address">
<column xsi:type="int" name="id" nullable="false" identity="true" unsigned="true" padding="10" comment="Address ID"/>
<column xsi:type="int" name="id" nullable="false" identity="true" unsigned="true" comment="Address ID"/>
<column xsi:type="varchar" name="city" nullable="true" length="100" comment="City"/>
<column xsi:type="int" name="customer_group" nullable="false" identity="false" unsigned="false" padding="10" comment="Customer Group"/>
<column xsi:type="int" name="customer_group" nullable="false" identity="false" unsigned="false" comment="Customer Group"/>
<column xsi:type="timestamp" name="created_at" nullable="false" default="CURRENT_TIMESTAMP" on_update="false" comment="Create time"/>
<column xsi:type="timestamp" name="updated_at" nullable="false" default="CURRENT_TIMESTAMP" on_update="true" comment="Modify time"/>
<column xsi:type="decimal" name="price" nullable="false" precision="10" scale="4" comment="Price"/>
Expand All @@ -15,12 +15,12 @@
</index>
</table>
<table name="mygento_sample_module_banner" resource="default" engine="innodb" comment="mygento_sample_module_banner Table">
<column xsi:type="int" name="id" nullable="false" identity="false" unsigned="true" padding="10" comment="Banner ID"/>
<column xsi:type="int" name="id" nullable="false" identity="false" unsigned="true" comment="Banner ID"/>
<column xsi:type="varchar" name="name" nullable="false" length="255" comment="Name"/>
<column xsi:type="varchar" name="subname" nullable="false" length="255" comment="Subname"/>
<column xsi:type="varchar" name="family" nullable="false" length="255" comment="Family"/>
<column xsi:type="boolean" name="is_active" nullable="false" comment="Is_active"/>
<column xsi:type="int" name="product_id" nullable="false" identity="false" unsigned="true" padding="10" comment="Product_id"/>
<column xsi:type="int" name="product_id" nullable="false" identity="false" unsigned="true" comment="Product_id"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="id"/>
</constraint>
Expand Down

0 comments on commit 75e5d20

Please sign in to comment.