Add migrations to db section (#7175)
parent
f2bc4548ba
commit
1090545b82
3 changed files with 75 additions and 28 deletions
@ -1,13 +0,0 @@ |
||||
# Design Patterns |
||||
|
||||
Design patterns are typical solutions to commonly occurring problems in software design. They can be broken into three categories: |
||||
|
||||
- Creational Patterns for the creation of objects |
||||
- Structural Patterns to provide relationship between objects |
||||
- Behavioral Patterns to help define how objects interact |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@opensource@Design Patterns for Humans](https://github.com/kamranahmedse/design-patterns-for-humans) |
||||
- [@article@GOF design patterns](https://springframework.guru/gang-of-four-design-patterns/) |
||||
- [@article@Design Patterns](https://refactoring.guru/design-patterns) |
@ -0,0 +1,8 @@ |
||||
# Migrations |
||||
|
||||
Database migrations are a version-controlled way to manage and apply incremental changes to a database schema over time, allowing developers to modify the database structure (e.g., adding tables, altering columns) without affecting existing data. They ensure that the database evolves alongside application code in a consistent, repeatable manner across environments (e.g., development, testing, production), while maintaining compatibility with older versions of the schema. Migrations are typically written in SQL or a database-agnostic language, and are executed using migration tools like Liquibase, Flyway, or built-in ORM features such as Django or Rails migrations. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@article@What are database migrations?](https://www.prisma.io/dataguide/types/relational/what-are-database-migrations) |
||||
- [@video@Database Migrations for Beginners](https://www.youtube.com/watch?v=dJDBP7pPA-o) |
Loading…
Reference in new issue