-
-
Save ManfredLange/34d42b4210ccb7707ba6c073a10dace8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using FluentMigrator; | |
namespace CmdLine.DataAccess.Migrations | |
{ | |
[Migration(201109_0935)] | |
public class M201109_0935_AddTable_List : Migration | |
{ | |
public override void Down() | |
{ | |
throw new System.NotImplementedException(); | |
} | |
public override void Up() | |
{ | |
Create.Table("List") | |
.WithColumn("Id").AsGuid().PrimaryKey().NotNullable() | |
.WithColumn("Name").AsString().NotNullable() | |
; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment