Skip to content
Snippets Groups Projects
Commit f389e500 authored by Eileen's avatar Eileen
Browse files

Schema tidy ups - add pseudoconstants for recurring contributions, add a couple of titles

parent 77c275e9
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
</primaryKey>
<field>
<name>title</name>
<title>Contribution Page Title</title>
<type>varchar</type>
<length>255</length>
<localizable>true</localizable>
......@@ -28,6 +29,7 @@
</field>
<field>
<name>intro_text</name>
<title>Contribution Page Introduction Text</title>
<type>text</type>
<htmlType>textarea</htmlType>
<rows>6</rows>
......@@ -334,6 +336,7 @@
</field>
<field>
<name>honor_block_title</name>
<title>Contribution Page Honor Block Title</title>
<type>varchar</type>
<length>255</length>
<localizable>true</localizable>
......@@ -342,6 +345,7 @@
</field>
<field>
<name>honor_block_text</name>
<title>Contribution Page Honor Block Text</title>
<type>text</type>
<htmlType>textarea</htmlType>
<rows>2</rows>
......@@ -366,6 +370,7 @@
</field>
<field>
<name>created_id</name>
<title>Contribution Page Created By</title>
<type>int unsigned</type>
<comment>FK to civicrm_contact, who created this contribution page</comment>
<add>3.0</add>
......@@ -386,6 +391,7 @@
</field>
<field>
<name>currency</name>
<title>Contribution Page Currency</title>
<type>varchar</type>
<length>3</length>
<default>NULL</default>
......@@ -402,6 +408,7 @@
</field>
<field>
<name>campaign_id</name>
<title>Contribution Page Campaign ID</title>
<type>int unsigned</type>
<comment>The campaign for which we are collecting contributions with this page.</comment>
<add>3.4</add>
......@@ -414,6 +421,7 @@
</foreignKey>
<field>
<name>is_share</name>
<title>Is Contribution Page Shared?</title>
<type>boolean</type>
<default>1</default>
<comment>Can people share the contribution page through social media?</comment>
......
......@@ -159,6 +159,9 @@
<default>1</default>
<import>true</import>
<add>1.6</add>
<pseudoconstant>
<optionGroupName>contribution_status</optionGroupName>
</pseudoconstant>
</field>
<index>
<name>index_contribution_status</name>
......@@ -257,6 +260,11 @@
<type>int unsigned</type>
<comment>FK to Financial Type</comment>
<add>4.3</add>
<pseudoconstant>
<table>civicrm_financial_type</table>
<keyColumn>id</keyColumn>
<labelColumn>name</labelColumn>
</pseudoconstant>
</field>
<foreignKey>
<name>financial_type_id</name>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment