Skip to content

Remove InventorySku functionality#36

Merged
dvicklund merged 1 commit intodvicklund:masterfrom
tr3mulant:master
Sep 27, 2022
Merged

Remove InventorySku functionality#36
dvicklund merged 1 commit intodvicklund:masterfrom
tr3mulant:master

Conversation

@tr3mulant
Copy link
Copy Markdown
Collaborator

Remove InventorySku model and functionality to add sku column to main inventories table

  • Deleted files
    • inventory_sku migration
    • InventorySku model
    • InventorySkuTrait trait
    • InventorySkuTest test file
  • Removed
    • sku relationship from Inventory model
    • sku generation functions from InventoryTrait
  • Added
    • unique sku column to inventories table
    • sku argument to InventoryVariantTrait::newVariant and InventoryVariantTrait::createVariant
    • InvalidSkuException
    • test updates for FunctionalTestCase, InventoryAssemblyTest, InventoryBundleTest, InventoryCategoryTest, InventoryVariantTest, and InventoryTest

@dvicklund
Copy link
Copy Markdown
Owner

Good, redundant tables are bad

@dvicklund dvicklund merged commit 3fcaa40 into dvicklund:master Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants