Skip to content

Instantly share code, notes, and snippets.

@odytrice
Last active March 28, 2018 10:58
Show Gist options
  • Save odytrice/0f64981fad0e0dd4d9e349ca51bae1c3 to your computer and use it in GitHub Desktop.
Save odytrice/0f64981fad0e0dd4d9e349ca51bae1c3 to your computer and use it in GitHub Desktop.
Migration File for Fluent Migrator for F# projects
REM Migrate Database
packages\FluentMigrator\tools\Migrate.exe --db=sqlserver --target=Dumia.Migrations\bin\Debug\Dumia.Migrations.dll --configPath=Dumia.Http\web.config --c=Dumia %*
REM Update Database DBML file
.\utils\SqlMetal.exe /server:"(local)" /database:dumia /user:admin1 /password:admin1 /dbml:"Dumia.Infrastructure/Database.dbml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment