Database Normalization chaining

后端 未结 3 1221
灰色年华
灰色年华 2020-12-04 01:06

I have multiple table chaining like so:

Table1

product_id SERIAL NOT NULL,
name varchar,

Table2 ( kept separate from table1

3条回答
  •  心在旅途
    2020-12-04 01:44

    Yes that's fine, but arguably the model ought to be something like:

    product -< product_variant >- product_size
    
                      V
                      |
               product_colour
    

提交回复
热议问题