Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If merging or moving data between environments is a regular occurrence, I agree it would be best to have non-colliding primary keys. I have done an environment move (new DB in different AWS region) with integers and sequences for maybe a 100 table DB and it’s do-able but a high cost task. At that company we also had the demo/customer preview environment concept where we needed to keep the data but move it.




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

Search: