implement TwingleShop integration
This commit is contained in:
parent
ea46e6a747
commit
8cfa270dff
60 changed files with 5200 additions and 106 deletions
73
xml/schema/CRM/Twingle/TwingleShop.xml
Normal file
73
xml/schema/CRM/Twingle/TwingleShop.xml
Normal file
|
@ -0,0 +1,73 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1" ?>
|
||||
|
||||
<table>
|
||||
<base>CRM/Twingle/Shop</base>
|
||||
<class>TwingleShop</class>
|
||||
<name>civicrm_twingle_shop</name>
|
||||
<comment>This table contains the Twingle Shop data. Each Twingle Shop is linked to a corresponding Price Set.</comment>
|
||||
<log>false</log>
|
||||
<!-- <add>1.5</add>-->
|
||||
|
||||
<field>
|
||||
<name>id</name>
|
||||
<type>int unsigned</type>
|
||||
<required>true</required>
|
||||
<unique>true</unique>
|
||||
<comment>Unique TwingleShop ID</comment>
|
||||
<html>
|
||||
<type>Number</type>
|
||||
</html>
|
||||
</field>
|
||||
<primaryKey>
|
||||
<name>id</name>
|
||||
<autoincrement>true</autoincrement>
|
||||
</primaryKey>
|
||||
|
||||
<field>
|
||||
<name>project_identifier</name>
|
||||
<type>varchar</type>
|
||||
<length>32</length>
|
||||
<required>true</required>
|
||||
<unique>true</unique>
|
||||
<comment>Twingle Project Identifier</comment>
|
||||
<html>
|
||||
<type>Text</type>
|
||||
</html>
|
||||
</field>
|
||||
|
||||
<field>
|
||||
<name>numerical_project_id</name>
|
||||
<type>int unsigned</type>
|
||||
<required>true</required>
|
||||
<unique>true</unique>
|
||||
<comment>Numerical Twingle Project Identifier</comment>
|
||||
<html>
|
||||
<type>Number</type>
|
||||
</html>
|
||||
</field>
|
||||
|
||||
<field>
|
||||
<name>price_set_id</name>
|
||||
<type>int unsigned</type>
|
||||
<unique>true</unique>
|
||||
<comment>FK to Price Set</comment>
|
||||
</field>
|
||||
<foreignKey>
|
||||
<name>price_set_id</name>
|
||||
<table>civicrm_price_set</table>
|
||||
<key>id</key>
|
||||
<onDelete>CASCADE</onDelete>
|
||||
</foreignKey>
|
||||
|
||||
<field>
|
||||
<name>name</name>
|
||||
<type>varchar</type>
|
||||
<unique>false</unique>
|
||||
<length>64</length>
|
||||
<required>true</required>
|
||||
<comment>name of the shop</comment>
|
||||
<html>
|
||||
<type>Text</type>
|
||||
</html>
|
||||
</field>
|
||||
</table>
|
Loading…
Add table
Add a link
Reference in a new issue