Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Gii Not Generates Normal Mysql Decimal Rules

$
0
0
Hi,

The gii generates for mysql Decimal types the rule
array('length', 'max' => 'a number') 
(according of digits) in the Model
instead of float type that adds
array('merchant_price', 'type', 'type'=>'float')
, (I read that in another post - I din't tested it)

In normal way the gii should be generates for decimal type the same thing that float type does

what is the problem ?

Thanks

Viewing all articles
Browse latest Browse all 18717

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>