Migrations

Migrations

Update: 2021-03-19
Share

Description

Como publicar alterações no BD? Como sincronizar a alteração do BD com a nova versão da aplicação? Já ouviu falar de "Migrations"? Play no p de Podcast!




Participantes

Marcio Frayze David


marcio@segunda.tech

https://twitter.com/marciofrayze

https://segunda.tech

https://masto.donte.com.br/web/accounts/138458

https://linkedin.com/in/marcio-frayze


Julianno Martins Silva

juliannoms@gmail.com

https://twitter.com/juliannoms

https://linkedin.com/in/juliannoms


Links:


Artigo da Amanda Sposito. Migrations in databases with large amount of data:

http://blog.plataformatec.com.br/2019/02/migrations-in-databases-with-large-amount-of-data/


Criando íncides no PostgreSQL sem lock:

https://www.postgresql.org/docs/9.1/sql-createindex.html


Undo no flyway (não recomendado):

https://flywaydb.org/documentation/command/undo


Definição de Database refactoring:

https://en.wikipedia.org/wiki/Database_refactoring


Livro Refactoring Databases:

https://www.goodreads.com/book/show/161302.Refactoring_Databases


Blue-green deployment:

https://martinfowler.com/bliki/BlueGreenDeployment.html


Evolutionary Database Design, Pramod Sadalage:

https://www.martinfowler.com/articles/evodb.html


Boas práticas de Migration em Java na Heroku:

https://devcenter.heroku.com/articles/running-database-migrations-for-java-apps


Ferramentas de migrations:


Java:

https://flywaydb.org/

https://www.liquibase.org/


.NET:

https://docs.microsoft.com/pt-br/ef/core/managing-schemas/migrations/?tabs=dotnet-core-cli


Ruby on rails:

https://edgeguides.rubyonrails.org/active_record_migrations.html

Comments 
Download from Google Play
Download from App Store
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Migrations

Migrations

Marcio Frayze David e Julianno Martins Silva