这是indexloc提供的服务,不要输入任何密码
Skip to content

Add Description and Learning Resources in Migrations #9334

@mujtabaalmas

Description

@mujtabaalmas

Roadmap URL

https://roadmap.sh/backend

Suggestions

Description

Migrations is the structured way to manage changes in a relational database schema over time. Each migration describes a small change, such as adding or removing a table, column, index, etc, to transform the database from one version to another. They are maintained under version control along with your code (like Git manages your code by keeping track of each commits), and when run, make schema updates repeatable and reversible. Migrations keep development, testing, and production schemas in sync by running pending changes to move the database from its current state to the desired state, all while allowing you to plan, test, and share schema updates safely without having to rebuild the database manually every time.

Resources Guide Links

Best for beginners
https://www.dbvis.com/thetable/introduction-to-database-migration-a-beginners-guide/

Advanced
https://docs.djangoproject.com/en/5.2/topics/migrations/#module-django.db.migrations

https://www.prisma.io/dataguide/types/relational/what-are-database-migrations

https://medium.com/@kimberly.d.benton/alembic-migrations-1191d67f9538

Video Link

https://youtu.be/mMsZPZKNc4g?si=jTHYQbL1BXg_tagt

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendRoadmap: backendtopic-changeMissing or deprecated topics in roadmap

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions