3 ms·
Are you using an ORM? If you're writing a web app (at least in Rails, Django or Flask) you can start once you have a rough idea about your objects and properti
by rahimnathwani 12y ago
Are you using an ORM? If you're writing a web app (at least in Rails, Django or Flask) you can start once you have a rough idea about your objects and properties (~= schema) and then use database migrations (e.g. with alembic) as you make changes.
If you don't care about your test data, just have your ORM create a fresh set of empty tables for you, each time you change the schema.
- kevan 12y ago>then use database migrations (e.g. with alembic) +1 for Alembic, it makes database schema changes a lot less painful. It's definitely good to sit down and figure out high level architecture before building, but for small one-off projects code that works today is usually worth more than better code tomorrow.
- panjaro 12y agoWon't code change be time consuming later ?