How does Git enable version control for database schema changes?

  • By creating separate branches for each database schema version.
  • By using Git hooks to automate schema change tracking.
  • By committing SQL scripts along with code changes.
  • By leveraging Git tags for database schema versions.
Git helps in version controlling database schema changes by allowing developers to commit SQL scripts along with their code changes. This ensures that changes to the database schema are tracked and can be reverted if necessary.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *