DEV Community

Discussion on: Why you should deploy on Friday afternoon

Collapse
 
quii profile image
Chris James

Nice comments

db schema changes in a sandbox.

I would argue that you should be able to test this locally. When we run locally it runs every schema change script on a local containerised DB. When you make a change just TDD the change like normal.

Collapse
 
jillesvangurp profile image
Jilles van Gurp

Sure works for toy databases. But that alter table that works fine locally might completely cripple your production DB. Once it does, all the fixes are ugly. Some things just resist closed world assumptions.

Thread Thread
 
mikesimons profile image
Mike Simons • Edited

+1 to this and not just the obvious alter tables.