I completed a feature request that required a change to our website's database.
What is a standard way of propagating that database change to the testing and production phases of the software development life cycle. Folks at my work suggested we don't have a procedure in place for this, but that we should.
What is a common way of doing this within a version controlled context?
I was thinking of including an instruction to testers/deployers in the README to execute a SQL script contained within the project via psql before attempting to launch the site. But I don't want that script to persist in a descendant branch, right? Or do I? Is the answer that all changes to the database should somehow be centralized?
Part of the problem here may be that I don't know a more precise way to ask this question, so it's hard to Google. Any advice would be very welcome, thanks!