Your SlideShare is downloading. ×
Migrator.net
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Migrator.net

889
views

Published on

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
889
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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