Migrator.net

1,088 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,088
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Migrator.net

  1. 1. Migrator.net<br />
  2. 2. Maxim Tihobrazov<br />
  3. 3. Shared database<br />
  4. 4. Set of scripts<br />
  5. 5. Ordered list of scripts migrations<br />
  6. 6. Rules<br />Version is stored in the database<br />Migrations should not be changed<br />Do not use if-logic<br />Do not combine migrations<br />
  7. 7. Revert migrations<br />Restore previous app version<br />Recreate/clear database<br />Fix bugs in migration being developed<br />
  8. 8. Migrator.net<br />Inspired by ruby migrations<br />Migrations is written in c#<br />Custom code allowed<br />Easier to move to another db-engine<br />
  9. 9. Migration stucture<br />
  10. 10. How to run?<br />> migrator.console.exe<br />SqlServer2008<br /> “Data Source=.;Initial Catalog=db;”<br /> MyMigrations.dll<br />
  11. 11. No excuses!<br />
  12. 12. Links<br />code.google.com/p/migratordotnet<br />github.com/migratordotnet<br />github.com/schambers/fluentmigrator<br />twitter.com/tihobrazov<br />

×