first steps toward supporting lock and note

This commit is contained in:
2019-08-19 17:16:11 -04:00
parent 3534930f22
commit b27c080d18
3 changed files with 10 additions and 7 deletions

View File

@ -3,6 +3,8 @@ CREATE TABLE IF NOT EXISTS `civicrm_grant_budget` (
`financial_type_id` int(10) UNSIGNED NOT NULL COMMENT 'FK to Financial Type.',
`fiscal_year` int(10) UNSIGNED NOT NULL COMMENT 'Fiscal Year',
`budget` decimal(20,2) DEFAULT '0.00' COMMENT 'Grant annual budget',
`note` varchar(255) DEFAULT NULL COMMENT 'Note',
`is_reserved`, tinyint(4) DEFAULT 0 COMMENT 'Is this grant budget locked?',
PRIMARY KEY (`id`),
KEY `FK_civicrm_grant_budget_financial_type_id` (`financial_type_id`),
UNIQUE KEY `UI_financial_type_id_fiscal_year` (`financial_type_id`,`fiscal_year`)