diff --git a/SpecBox.Migrations/Migration_017_ExampleProject.cs b/SpecBox.Migrations/Migration_017_ExampleProject.cs new file mode 100755 index 0000000..4229402 --- /dev/null +++ b/SpecBox.Migrations/Migration_017_ExampleProject.cs @@ -0,0 +1,21 @@ +using System.Data; +using ThinkingHome.Migrator.Framework; +using ThinkingHome.Migrator.Framework.Extensions; + +namespace SpecBox.Migrations +{ + [Migration(17)] + public class Migration_017_ExampleProject: Migration + { + public override void Apply() + { + Database.Insert("Project", new[] {"Code", "Title", "Description"}, new[] {"id", "id", "id"}); + } + + public override void Revert() + { + Database.Delete("Project", "code='id'"); + } + + } +}