----------------------------------------
* CRM-16189: Improve support for Accrual Method bookkeeping
https://issues.civicrm.org/jira/browse/CRM-16189
UPDATE civicrm_dashboard SET
{localize field="label"}label = '{ts escape="sql"}CiviCRM Resources{/ts}'{/localize}
WHERE name = 'getting-started';
+
+-- CRM-16189
+ALTER TABLE civicrm_financial_account
+ ADD `opening_balance` decimal(20,2) DEFAULT '0.00' COMMENT 'Contains the opening balance for this financial account',
+ ADD `current_period_opening_balance` decimal(20,2) DEFAULT '0.00' COMMENT 'Contains the opening balance for the current period for this financial account';
<unique>true</unique>
<add>4.3</add>
</index>
+ <field>
+ <name>opening_balance</name>
+ <type>decimal</type>
+ <title>Opening Balance</title>
+ <comment>Contains the opening balance for this financial account</comment>
+ <default>0</default>
+ <length>20,2</length>
+ <add>4.7</add>
+ </field>
+ <field>
+ <name>current_period_opening_balance</name>
+ <type>decimal</type>
+ <length>20,2</length>
+ <title>Current period opening Balance</title>
+ <comment>Contains the opening balance for the current period for this financial account</comment>
+ <default>0</default>
+ <add>4.7</add>
+ </field>
</table>