3 ms·
I would say just the opposite. Model your domain first. Why tie your database to your user interface? Your user interface may change. You may write a separate A
by scarface74 9y ago
I would say just the opposite. Model your domain first. Why tie your database to your user interface? Your user interface may change. You may write a separate API to be consumed by another team, etc.
- partisan 9y agoThis is the answer that I would give. Over time, my development has shifted to modeling the domain first, including simple APIs that use those domain models well before I intend to write a table. To answer the question as asked, I use pgadmin or the corresponding database management tool to update the database. My first actual migration is a stable version of the database.