コード例 #1
0
        public void has_a_column_for_the_deleted_mark()
        {
            var column = theTable.ColumnFor(SchemaConstants.DeletedColumn);

            column.DefaultExpression.ShouldBe("FALSE");
            column.Type.ShouldBe("boolean");
        }
 public void it_can_map_the_database_type()
 {
     theDerivedTable.Columns
     .Single(x => x.IsPrimaryKey).Type.ShouldBe("uuid");
     theDerivedTable.ColumnFor("data").Type.ShouldBe("jsonb");
     theDerivedTable.ColumnFor("user_name").Type.ShouldBe("varchar");
 }