Skip to content

Commit

Permalink
Source Entity expansion with Pickup Location attributes #2182.
Browse files Browse the repository at this point in the history
open_hours -> frontend_description
  • Loading branch information
novikor committed May 18, 2019
1 parent 10401ca commit 6a0b85f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/InventoryInStorePickup/etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<table name="inventory_source">
<column xsi:type="boolean" name="is_pickup_location_active" nullable="false" default="0"/>
<column xsi:type="varchar" name="frontend_name" nullable="true" />
<column xsi:type="text" name="open_hours" nullable="true" />
<column xsi:type="text" name="frontend_description" nullable="true" />
</table>
</schema>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"column": {
"is_pickup_location_active": true,
"frontend_name": true,
"open_hours": true
"frontend_description": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
<extension_attributes for="Magento\InventoryApi\Api\Data\SourceInterface">
<attribute code="is_pickup_location_active" type="boolean"/>
<attribute code="front_name" type="string"/>
<attribute code="open_hours" type="string[]"/>
<attribute code="frontend_description" type="string"/>
</extension_attributes>
</config>

0 comments on commit 6a0b85f

Please sign in to comment.