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

Never store two different types of information in the same table, even if the structure is identical. They may be identical today -- they won't be in two years time.

If you're unsure about this, ask yourself if your table has a column called 'type' or something similar. If it does, a big migration awaits you a year or two down the road, and you'll have a lot of pain between now and then.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: