data modeling - Two tables: order and order_status. Relationship or enum type? What kind of relationshi -


i have 2 tables: order , order_status.

in first 1 store orders of shop , in second 1 different possible statuses order can have (in progress, paid, ...).

should there relationship (1:1??) between these 2 tables or should create enum type status values?

go ahead , create table. need more statuses on time (trust me, work on 20,000 online stores every day, , orderstatus not simple sounds). let add flags statuses: answers may count form of "shipped", if descriptions vary.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -