|
|
|
|
|
by gary_0
775 days ago
|
|
I think you could extend this argument to include the philosophy that databases should be glorified key-value stores, and semantics should only be handled by application code. I think a key point in the article is that "models become obsolete faster than we’d like". On the other hand, you could argue that it's simply necessary to put in the effort to keep the data model up to date with your current needs, through API versioning, database migrations, etc. Honestly I'm not sure which approach is less messy; maybe it depends on the team. |
|
The difference is that IDs are part of the public API.
Your database schema (KV or otherwise) is not.