topaz v0.2.2 Release Notes
Release Date: 2016-12-26 // over 7 years ago-
๐ฑ Suppoort Crystal version 0.20.3 ๐
๐ Nullable column is accepted.(See below sample)
Support to_json and from_json(#json
is deprecated)
Topaz::Log.show_query
is nowTopaz::Db.show_query
class NullableModel < Topaz::Model columns( name: String, nullable: {type: String, nullable: true}, not_nullable: {type: String, nullable: false}, ) end NullableModel.create("sample", nil, "not nullable")