Hacker News new | past | comments | ask | show | jobs | submit login

Given that initially defining your db schema is a one-time thing and we generally don’t change it very often after, I can’t fully get behind what the article suggests. However, the one thing I tend to do is add a text or json field called “extra” to my main tables that just stores a JSON map with fields I want to add to the record but don’t need to necessarily query by.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: