This is probably more of a feature request as I'm fairly sure this functionality isn't there.
But after spending some time working with Django, one thing I really liked (lost in a sea of dislikes) was that you create the models of your application first, outlining all the relationships, properties, etc...
Then after some command line goodness, it would take your models and generate the proper Database scheme to correspond with the models (field types were defined in the models. At least initially it was very helpful to get a project started.
I might look at the oil generate command and see if we could read the specific properties found in the models and go from there.
Would it be much work to change the $_properties declaration from this
class Model_Article extends Orm\Model {
protected static $_properties = array('id', 'title', 'contents', 'publish');
}
to this
class Model_Article extends Orm\Model {
protected static $_properties = array('id' => 'integer', 'title' => 'string', 'contents' => 'text', 'publish' => 'bit');
}
It seems like if this were done it wouldn't be very hard to implement the feature I'm talking about.
Just a thought.