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 73f3454 commit 4995e4c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions InventoryInStorePickup/etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</table>
<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="varchar" name="frontend_name" nullable="true" default=""/>
<column xsi:type="text" name="frontend_description" nullable="true" />
</table>
</schema>
2 changes: 1 addition & 1 deletion InventoryInStorePickup/etc/db_schema_whitelist.json
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
}
}
}
4 changes: 2 additions & 2 deletions InventoryInStorePickup/etc/extension_attributes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</extension_attributes>
<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_name" type="string"/>
<attribute code="frontend_description" type="string"/>
</extension_attributes>
</config>

0 comments on commit 4995e4c

Please sign in to comment.