Created
January 23, 2013 14:35
-
-
Save hungryzi/4606582 to your computer and use it in GitHub Desktop.
1st try at 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: 8 | |
# Sample record for 'inventory_items' | |
inventory_item = | |
id: 1 | |
catalog_item_id: 42 | |
catalog_item: | |
id: 42 | |
serialized: 1 | |
category_id: 8 | |
quantity: 8 | |
location_id: 3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment