Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthormetkelb
     
    Hello Akelos Community,

    When i run ./script/migrate Modelname install with my table definition like so:
    • CommentAuthormetkelb
     

    function up_1(){ $this->createtable('financial_informations', 'id int(11) not null auto_increment primary key, some_value float(10,2) , number_of_some int(10), amount_of_some float(10,2) , some_else_id'); }

    • CommentAuthormetkelb
     
    The script changes float(10,2) to double,

    is there a reason why and how can i force './script/migrate' it to use float??
    • CommentAuthorKaste
     

    Can't test right now but it's always float(10.2) (<= ten point two)

    • CommentAuthormetkelb
     
    thank you kaste