Shopware 6.4.2.0 swag_paypal_pos_sales_channel_inventory
Inventory sync state between Shopware and PayPal Zettle POS.
Columns
| Column | Type | Nullable | Additional |
|---|---|---|---|
| sales_channel_id | binary(16) | NO | Primary Key Foreign Key → sales_channel.id |
| product_id | binary(16) | NO | Primary Key Foreign Key → product.id |
| product_version_id | binary(16) | NO | Primary Key Foreign Key → product.version_id |
| stock | int(11) | NO | |
| updated_at | datetime(3) | YES |
Indexes
| Index Name | Columns | Unique |
|---|---|---|
| fk.swag_paypal_pos_sales_channel_inventory.product | product_id,product_version_id | No |
| fk.swag_paypal_pos_sales_channel_inventory.product_id | product_id | No |
| fk.swag_paypal_pos_sales_channel_inventory.product_vid | product_version_id | No |
| fk.swag_paypal_pos_sales_channel_inventory.sales_channel_id | sales_channel_id | No |
| PRIMARY | sales_channel_id,product_id,product_version_id | Yes |
Relations (from this table)
| Local Field | Foreign Table | Foreign Field |
|---|---|---|
| product_id | product | id |
| product_version_id | product | version_id |
| sales_channel_id | sales_channel | id |
