阅读背景:

有人告诉我为什么我的数据库设计很愚蠢,以及如何解决它

来源:互联网 

So I have these vehicles, many different types of them. Every type has its own table, with many attributes. Then I have a "vehicles" table, which holds the ids and types of all the vehicles in every table. Vehicles can have photos, so I have a "photos" table, with a vehicle_id, linking the photo to the vehicle it belongs to.So I have these vehicles, many different types




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: