3 ms·
Prefixing table names with the app name is a simple way of letting multiple apps share the same database. Sharing the same database used to be really common, al
by larsnystrom 4y ago
Prefixing table names with the app name is a simple way of letting multiple apps share the same database. Sharing the same database used to be really common, almost standard I’d say, when deploying on low-cost web hosts and also locally when working on multiple projects. I don’t let apps share databases anymore, but I still usually prefix table names anyway. Old habits die hard I guess, and for most ORMs it’s usually just a single config switch anyway.