Last active
December 11, 2015 13:18
-
-
Save hungryzi/4606684 to your computer and use it in GitHub Desktop.
Naive data modelling for inventory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample record for 'catalog_items' | |
catalog_item = | |
id: 42 | |
serialized: 1 | |
category_id: 2 | |
# Sample record for 'inventory_items' | |
inventory_item = | |
id: 1 | |
catalog_item_id: 42 | |
quantity: 2 | |
location_id: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment