Commits

Anonymous committed 30ca996

reset

Comments (0)

Files changed (3)

src/Core/DataAccess/Mappings/VisitorMap.cs

             Map(x => x.Browser).Length(4000).Not.Nullable();
             Map(x => x.VisitDate).Not.Nullable();
             Map(x => x.IpAddress).Not.Nullable();
-            Map(x => x.Foo);
         }
     }
 }

src/Core/Database/Update/0002_AddFooColumnToVisitor.sql

Binary file removed.

src/IntegrationTests/DataAccess/Mappings/VisitorMappingTester.cs

             new DatabaseTester().Clean();
             var visitor = new Visitor
             {
-                Foo = 12,
                 Browser = "1",
                 IpAddress = "2",
                 LoginName = "3",
             loadedVisitor.LoginName.ShouldEqual("3");
             loadedVisitor.PathAndQuerystring.ShouldEqual("4");
             loadedVisitor.VisitDate.ShouldEqual(new DateTime(2000, 1, 1));
-            loadedVisitor.Foo.ShouldEqual(12);
         }
     }
 }