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.
Loading...
Related Quiz
- Which feature of Git can significantly improve code quality when compared to older VCS systems?
-
If you need to review the history of changes within a specific file, use git _______
. - What is a unique feature of GitLab compared to GitHub and Bitbucket?
- When transitioning to Git, what strategy helps in preserving the history of a legacy codebase?
- What does the git log command display in a Git repository?