Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Upgrade to 2.4 and Decimal Field Issue

Go to End

3 Posts   2082 Views


Community Member, 545 Posts

6 May 2010 at 1:48am

I've upgraded to 2.4 and every time I do a dev/build I get the following change to my DB

Field ColorProduct.Price: changed to decimal(9,2) not null default 0 (from decimal(9,2) not null default 0.00)

Do I need to change the way I'm defining that Data Field?


Forum Moderator, 801 Posts

7 May 2010 at 5:05pm

Thats a bug, but nothing to do with the actual schema (its presentational, change detection): I've filed a ticket for it,


Community Member, 1 Post

28 August 2010 at 12:17pm

I have changed type of this field on float

1) RecurringPayment.php line 6 'Amount' => 'Float', //Stepanov old: 'Money'
2) Payment.php line 25 'Amount' => 'Float', //Stepanov old: 'Money'
3) DPSRecurringPayment.php line 12 'AuthAmount' => 'Float', //Stepanov old 'Decimal'