public void has_a_column_for_the_deleted_mark() { var column = theTable.Column(DocumentMapping.DeletedColumn); column.Directive.ShouldBe("DEFAULT FALSE"); column.Type.ShouldBe("boolean"); }
public void has_a_column_for_the_deleted_mark() { var column = theTable.Column(SchemaConstants.DeletedColumn); column.Directive.ShouldBe("DEFAULT FALSE"); column.Type.ShouldBe("boolean"); }
public void it_can_map_the_database_type() { theDerivedTable.PrimaryKey.Type.ShouldBe("uuid"); theDerivedTable.Column("data").Type.ShouldBe("jsonb"); theDerivedTable.Column("user_name").Type.ShouldBe("varchar"); }