Usual type declarations are too wordy:
add column Foo type => String, nullable => false, length => 200
This can be shortened to:
add column Foo type => "String!(200)"
Proposed notation is as follows:
<TypeName><Nullability>[(<Length>)]
<TypeName><Nullability>(<Scale>, <Precision>)
Here:
* <TypeName> is standard DbType enumeration member (case-insensitive due to
issue 20)
* <Nullability> is either "?" for nullable or "!" for non-nullable
* <Length> is an optional integer
* <Scale> and <Precision> are pretty much self explanatory
Original issue reported on code.google.com by anton.go...@gmail.com on 28 Jul 2010 at 8:52
Original issue reported on code.google.com by
anton.go...@gmail.com
on 28 Jul 2010 at 8:52