You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes we want define one enumerable type, as we hope it can be add/remove enum values dynamicly. As of MySQL, if we define one field orm model with type enum, it would create one field in mysql with enum column type(MySQL's).
orm.define("test",{"types": {// mark it's one enum type type, use validator before instance save, but it's not enum type in MySQLtype: 'text_enum',// column sizesize: 64,}})
or just upgrade @fxjs/sql-ddl-sync to support defining required custom property.datastoreType(prop).
The text was updated successfully, but these errors were encountered:
sometimes we want define one enumerable type, as we hope it can be add/remove enum values dynamicly. As of MySQL, if we define one field orm model with type
enum
, it would create one field in mysql withenum
column type(MySQL's).or just upgrade
@fxjs/sql-ddl-sync
to support defining required customproperty.datastoreType(prop)
.The text was updated successfully, but these errors were encountered: