svs / covid19-supply-chain-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Item Model - type column

anew-bhav opened this issue · comments

What Behavior do we expect the type column in Item model to serve?
Its datatype is Integer
I assume we don't need STI like behavior in any case.
type column by default is used for the purpose of Single Table Inheritance in rails.
We need to disable this.

cc: @BilalBudhani @svs

It's just an Enum for one of retail, wholesale or transport. No STI

Changes have been pushed and merged, CLosing the issue.