Skip to content

Commit 073ca97

Browse files
committed
MAGETWO-95035: Multi-master splitting works for the core tables (created through declarative schema) but not for tables created with setup scripts
1 parent 8487750 commit 073ca97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/SalesRule/etc/db_schema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
<column name="attribute_id"/>
199199
</index>
200200
</table>
201-
<table name="salesrule_coupon_aggregated" resource="default" engine="innodb" comment="Coupon Aggregated">
201+
<table name="salesrule_coupon_aggregated" resource="sales" engine="innodb" comment="Coupon Aggregated">
202202
<column xsi:type="int" name="id" padding="10" unsigned="true" nullable="false" identity="true" comment="Id"/>
203203
<column xsi:type="date" name="period" nullable="false" comment="Period"/>
204204
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="true" identity="false"
@@ -239,7 +239,7 @@
239239
<column name="rule_name"/>
240240
</index>
241241
</table>
242-
<table name="salesrule_coupon_aggregated_updated" resource="default" engine="innodb"
242+
<table name="salesrule_coupon_aggregated_updated" resource="sales" engine="innodb"
243243
comment="Salesrule Coupon Aggregated Updated">
244244
<column xsi:type="int" name="id" padding="10" unsigned="true" nullable="false" identity="true" comment="Id"/>
245245
<column xsi:type="date" name="period" nullable="false" comment="Period"/>

app/code/Magento/Tax/etc/db_schema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
<column name="store_id"/>
140140
</index>
141141
</table>
142-
<table name="tax_order_aggregated_created" resource="default" engine="innodb" comment="Tax Order Aggregation">
142+
<table name="tax_order_aggregated_created" resource="sales" engine="innodb" comment="Tax Order Aggregation">
143143
<column xsi:type="int" name="id" padding="10" unsigned="true" nullable="false" identity="true" comment="Id"/>
144144
<column xsi:type="date" name="period" comment="Period"/>
145145
<column xsi:type="smallint" name="store_id" padding="5" unsigned="true" nullable="true" identity="false"
@@ -168,7 +168,7 @@
168168
<column name="store_id"/>
169169
</index>
170170
</table>
171-
<table name="tax_order_aggregated_updated" resource="default" engine="innodb"
171+
<table name="tax_order_aggregated_updated" resource="sales" engine="innodb"
172172
comment="Tax Order Aggregated Updated">
173173
<column xsi:type="int" name="id" padding="10" unsigned="true" nullable="false" identity="true" comment="Id"/>
174174
<column xsi:type="date" name="period" comment="Period"/>

0 commit comments

Comments
 (0)