1 <?xml version="1.0" encoding="utf-8"?>
4 <version>10.28</version>
7 <name>applications</name>
14 <notnull>true</notnull>
20 <notnull>true</notnull>
26 <default>enabled</default>
27 <notnull>true</notnull>
32 <notnull>true</notnull>
38 <notnull>true</notnull>
43 <length>65535</length>
44 <notnull>false</notnull>
48 <primary>true</primary>
70 <name>application_tables</name>
74 <name>application_id</name>
77 <notnull>true</notnull>
83 <notnull>true</notnull>
89 <notnull>true</notnull>
92 <name>name-application_id</name>
93 <primary>true</primary>
95 <name>application_id</name>
102 <name>application_tables::application_id--applications::id</name>
104 <name>application_id</name>
106 <foreign>true</foreign>
108 <table>applications</table>
110 <ondelete>cascade</ondelete>
111 <!-- add onupdate? -->
117 <!-- credential_cache -->
119 <name>credential_cache</name>
126 <notnull>true</notnull>
131 <notnull>true</notnull>
134 <name>creation_time</name>
135 <type>datetime</type>
138 <name>valid_until</name>
139 <type>datetime</type>
143 <primary>true</primary>
159 <notnull>true</notnull>
165 <notnull>true</notnull>
168 <name>description</name>
170 <notnull>false</notnull>
173 <name>visibility</name>
176 <default>displayed</default>
177 <notnull>true</notnull>
190 <name>created_by</name>
195 <name>creation_time</name>
196 <type>datetime</type>
199 <name>last_modified_by</name>
204 <name>last_modified_time</name>
205 <type>datetime</type>
208 <name>is_deleted</name>
210 <default>false</default>
213 <name>deleted_by</name>
218 <name>deleted_time</name>
219 <type>datetime</type>
224 <notnull>true</notnull>
229 <primary>true</primary>
236 <unique>true</unique>
251 <name>accounts</name>
252 <version>11</version>
258 <notnull>true</notnull>
261 <name>login_name</name>
264 <notnull>true</notnull>
267 <name>password</name>
270 <notnull>false</notnull>
273 <name>login_shell</name>
276 <notnull>false</notnull>
279 <name>home_dir</name>
282 <notnull>false</notnull>
285 <name>last_login</name>
286 <type>datetime</type>
289 <name>last_login_from</name>
292 <notnull>false</notnull>
295 <name>last_password_change</name>
296 <type>datetime</type>
302 <default>enabled</default>
303 <notnull>true</notnull>
306 <name>expires_at</name>
307 <type>datetime</type>
310 <name>blocked_until</name>
311 <type>datetime</type>
314 <name>login_failures</name>
319 <name>last_login_failure_at</name>
320 <type>datetime</type>
323 <name>primary_group_id</name>
326 <notnull>true</notnull>
334 <name>visibility</name>
337 <default>displayed</default>
338 <notnull>true</notnull>
346 <name>first_name</name>
351 <name>last_name</name>
354 <notnull>true</notnull>
357 <name>full_name</name>
360 <notnull>true</notnull>
363 <name>display_name</name>
366 <notnull>true</notnull>
369 <name>contact_id</name>
374 <name>created_by</name>
379 <name>creation_time</name>
380 <type>datetime</type>
383 <name>last_modified_by</name>
388 <name>last_modified_time</name>
389 <type>datetime</type>
392 <name>is_deleted</name>
394 <default>false</default>
397 <name>deleted_by</name>
402 <name>deleted_time</name>
403 <type>datetime</type>
408 <notnull>true</notnull>
413 <primary>true</primary>
419 <name>login_name</name>
420 <unique>true</unique>
422 <name>login_name</name>
427 <unique>true</unique>
433 <name>visibility</name>
435 <name>visibility</name>
439 <name>primary_group_id</name>
441 <name>primary_group_id</name>
445 <name>contact_id</name>
447 <name>contact_id</name>
451 <name>accounts::primary_group_id--groups::id</name>
453 <name>primary_group_id</name>
455 <foreign>true</foreign>
457 <table>groups</table>
465 <name>group_members</name>
469 <name>group_id</name>
472 <notnull>true</notnull>
475 <name>account_id</name>
478 <notnull>true</notnull>
482 <name>group_id-account_id</name>
483 <primary>true</primary>
485 <name>group_id</name>
488 <name>account_id</name>
492 <name>account_id</name>
494 <name>account_id</name>
498 <name>group_members::account_id--accounts::id</name>
500 <name>account_id</name>
502 <foreign>true</foreign>
504 <table>accounts</table>
509 <name>group_members::group_id--groups::id</name>
511 <name>group_id</name>
513 <foreign>true</foreign>
515 <table>groups</table>
522 <name>container</name>
523 <version>12</version>
528 <autoincrement>true</autoincrement>
534 <notnull>true</notnull>
540 <default>personal</default>
541 <notnull>false</notnull>
544 <name>owner_id</name>
547 <notnull>false</notnull>
553 <default>NULL</default>
559 <notnull>false</notnull>
565 <notnull>true</notnull>
568 <name>application_id</name>
571 <notnull>true</notnull>
574 <name>content_seq</name>
579 <name>created_by</name>
584 <name>creation_time</name>
585 <type>datetime</type>
588 <name>last_modified_by</name>
593 <name>last_modified_time</name>
594 <type>datetime</type>
597 <name>is_deleted</name>
599 <default>false</default>
602 <name>deleted_by</name>
607 <name>deleted_time</name>
608 <type>datetime</type>
613 <notnull>true</notnull>
625 <default>NULL</default>
630 <notnull>false</notnull>
631 <default>NULL</default>
635 <primary>true</primary>
647 <name>application_id</name>
649 <name>application_id</name>
653 <name>owner_id</name>
655 <name>owner_id</name>
659 <name>container::application_id--applications::id</name>
661 <name>application_id</name>
663 <foreign>true</foreign>
665 <table>applications</table>
672 <name>container_acl</name>
679 <notnull>true</notnull>
682 <name>container_id</name>
684 <unsigned>true</unsigned>
685 <notnull>true</notnull>
688 <name>account_type</name>
691 <default>user</default>
692 <notnull>true</notnull>
695 <name>account_id</name>
698 <notnull>true</notnull>
701 <name>account_grant</name>
704 <notnull>true</notnull>
708 <name>container_id-account-type-account_id-account_grant</name>
709 <primary>true</primary>
714 <name>container_id</name>
717 <name>account_type</name>
720 <name>account_id</name>
723 <name>account_grant</name>
727 <name>id-account_type-account_id</name>
729 <name>container_id</name>
732 <name>account_type</name>
735 <name>account_id</name>
739 <name>container_acl::container_id--container::id</name>
741 <name>container_id</name>
743 <foreign>true</foreign>
745 <table>container</table>
747 <ondelete>cascade</ondelete>
748 <!-- add onupdate? -->
754 <name>container_content</name>
761 <notnull>true</notnull>
764 <name>container_id</name>
766 <unsigned>true</unsigned>
767 <notnull>true</notnull>
770 <name>record_id</name>
773 <notnull>true</notnull>
779 <notnull>true</notnull>
782 <name>content_seq</name>
788 <type>datetime</type>
789 <notnull>true</notnull>
792 <name>container_id-content_seq-record_id</name>
793 <primary>true</primary>
795 <name>container_id</name>
798 <name>content_seq</name>
801 <name>record_id</name>
811 <name>container_content::container_id--container::id</name>
813 <name>container_id</name>
815 <foreign>true</foreign>
817 <table>container</table>
819 <ondelete>cascade</ondelete>
825 <name>access_log</name>
832 <notnull>true</notnull>
835 <name>sessionid</name>
838 <notnull>true</notnull>
841 <name>login_name</name>
844 <notnull>true</notnull>
850 <notnull>false</notnull>
854 <type>datetime</type>
855 <notnull>true</notnull>
859 <type>datetime</type>
862 <name>account_id</name>
865 <notnull>false</notnull>
870 <notnull>true</notnull>
871 <unsigned>false</unsigned>
874 <name>clienttype</name>
877 <notnull>false</notnull>
880 <name>user_agent</name>
886 <primary>true</primary>
892 <name>sessionid</name>
894 <name>sessionid</name>
904 <name>account_id-ip</name>
906 <name>account_id</name>
916 <name>record_observer</name>
922 <autoincrement>true</autoincrement>
925 <name>observable_model</name>
928 <notnull>true</notnull>
931 <name>observable_identifier</name>
934 <notnull>true</notnull>
937 <name>observer_model</name>
940 <notnull>true</notnull>
943 <name>observer_identifier</name>
946 <notnull>true</notnull>
949 <name>observed_event</name>
952 <notnull>true</notnull>
955 <name>created_by</name>
960 <name>creation_time</name>
961 <type>datetime</type>
962 <notnull>true</notnull>
966 <primary>true</primary>
972 <name>observable-observer-event</name>
973 <unique>true</unique>
975 <name>observable_model</name>
978 <name>observable_identifier</name>
981 <name>observer_model</name>
984 <name>observer_identifier</name>
987 <name>observed_event</name>
991 <name>observer</name>
993 <name>observer_model</name>
996 <name>observer_identifier</name>
1003 <name>relations</name>
1004 <version>9</version>
1010 <notnull>true</notnull>
1016 <notnull>true</notnull>
1019 <name>own_model</name>
1022 <notnull>true</notnull>
1025 <name>own_backend</name>
1028 <notnull>true</notnull>
1034 <notnull>true</notnull>
1037 <name>related_degree</name>
1040 <notnull>true</notnull>
1043 <name>related_model</name>
1046 <notnull>true</notnull>
1049 <name>related_backend</name>
1052 <notnull>true</notnull>
1055 <name>related_id</name>
1058 <notnull>true</notnull>
1064 <notnull>true</notnull>
1071 <name>created_by</name>
1074 <notnull>false</notnull>
1077 <name>creation_time</name>
1078 <type>datetime</type>
1079 <notnull>false</notnull>
1082 <name>last_modified_by</name>
1085 <notnull>false</notnull>
1088 <name>last_modified_time</name>
1089 <type>datetime</type>
1090 <notnull>false</notnull>
1093 <name>is_deleted</name>
1094 <type>boolean</type>
1095 <notnull>true</notnull>
1096 <default>false</default>
1099 <name>deleted_by</name>
1102 <notnull>false</notnull>
1105 <name>deleted_time</name>
1106 <type>datetime</type>
1107 <notnull>false</notnull>
1111 <type>integer</type>
1112 <notnull>true</notnull>
1113 <default>0</default>
1117 <primary>true</primary>
1129 <name>rel_id-own_model-own_backend-own_id</name>
1130 <unique>true</unique>
1135 <name>own_model</name>
1138 <name>own_backend</name>
1145 <name>unique-fields</name>
1146 <unique>true</unique>
1148 <name>own_model</name>
1151 <name>own_backend</name>
1157 <name>related_model</name>
1160 <name>related_backend</name>
1163 <name>related_id</name>
1173 <name>timemachine_modlog</name>
1174 <version>5</version>
1180 <notnull>true</notnull>
1183 <name>instance_id</name>
1186 <notnull>false</notnull>
1189 <name>instance_seq</name>
1190 <type>integer</type>
1191 <notnull>true</notnull>
1192 <autoincrement>true</autoincrement>
1195 <name>change_type</name>
1198 <notnull>false</notnull>
1201 <name>application_id</name>
1204 <notnull>true</notnull>
1207 <name>record_id</name>
1210 <notnull>false</notnull>
1213 <name>record_type</name>
1216 <notnull>false</notnull>
1219 <name>record_backend</name>
1222 <notnull>false</notnull>
1225 <name>modification_time</name>
1226 <type>datetime</type>
1227 <notnull>true</notnull>
1230 <name>modification_account</name>
1233 <notnull>true</notnull>
1236 <name>modified_attribute</name>
1239 <notnull>false</notnull>
1242 <name>old_value</name>
1246 <name>new_value</name>
1251 <type>integer</type>
1257 <length>255</length>
1258 <notnull>true</notnull>
1262 <primary>true</primary>
1268 <name>instance_id</name>
1270 <name>instance_id</name>
1274 <name>instance_seq</name>
1275 <unique>true</unique>
1277 <name>instance_seq</name>
1287 <name>unique-fields</name>
1288 <unique>true</unique>
1290 <name>application_id</name>
1293 <name>record_id</name>
1296 <name>record_type</name>
1299 <name>modification_time</name>
1302 <name>modification_account</name>
1305 <name>modified_attribute</name>
1316 <version>9</version>
1322 <notnull>true</notnull>
1328 <notnull>true</notnull>
1338 <length>255</length>
1339 <default>NULL</default>
1342 <name>description</name>
1344 <length>2147483647</length>
1346 <default>NULL</default>
1352 <default>NULL</default>
1355 <name>occurrence</name>
1356 <type>integer</type>
1359 <name>created_by</name>
1364 <name>creation_time</name>
1365 <type>datetime</type>
1368 <name>last_modified_by</name>
1373 <name>last_modified_time</name>
1374 <type>datetime</type>
1377 <name>is_deleted</name>
1378 <type>boolean</type>
1379 <notnull>true</notnull>
1380 <default>false</default>
1383 <name>deleted_by</name>
1388 <name>deleted_time</name>
1389 <type>datetime</type>
1393 <type>integer</type>
1394 <notnull>true</notnull>
1395 <default>0</default>
1399 <primary>true</primary>
1417 <name>description</name>
1418 <fulltext>true</fulltext>
1420 <name>description</name>
1427 <name>tags_acl</name>
1428 <version>3</version>
1434 <notnull>true</notnull>
1437 <name>account_type</name>
1440 <default>user</default>
1441 <notnull>true</notnull>
1444 <name>account_id</name>
1447 <notnull>true</notnull>
1450 <name>account_right</name>
1453 <notnull>true</notnull>
1456 <name>tag_id-account_type-account_id-account_right</name>
1457 <primary>true</primary>
1462 <name>account_type</name>
1465 <name>account_id</name>
1468 <name>account_right</name>
1472 <name>tag_id-account_type-account_id</name>
1477 <name>account_type</name>
1480 <name>account_id</name>
1484 <name>tags_acl::tag_id--tags::id</name>
1488 <foreign>true</foreign>
1492 <ondelete>cascade</ondelete>
1499 <name>tags_context</name>
1500 <version>2</version>
1506 <notnull>true</notnull>
1509 <name>application_id</name>
1512 <notnull>true</notnull>
1515 <name>tag_id-application_id</name>
1516 <primary>true</primary>
1521 <name>application_id</name>
1525 <name>application_id</name>
1527 <name>application_id</name>
1531 <name>tags_context::tag_id--tags::id</name>
1535 <foreign>true</foreign>
1539 <ondelete>cascade</ondelete>
1547 <name>tagging</name>
1548 <version>2</version>
1554 <notnull>true</notnull>
1557 <name>application_id</name>
1560 <notnull>true</notnull>
1563 <name>record_id</name>
1566 <notnull>true</notnull>
1569 <name>record_backend_id</name>
1572 <notnull>true</notnull>
1575 <name>tag_id-application_id-record_id-record_backend_id</name>
1576 <primary>true</primary>
1581 <name>application_id</name>
1584 <name>record_id</name>
1587 <name>record_backend_id</name>
1592 <name>application_id</name>
1594 <name>application_id</name>
1598 <name>record_id</name>
1600 <name>record_id</name>
1604 <name>tagging::tag_id--tags::id</name>
1608 <foreign>true</foreign>
1612 <ondelete>cascade</ondelete>
1620 <version>2</version>
1624 <type>integer</type>
1625 <autoincrement>true</autoincrement>
1630 <length>128</length>
1631 <notnull>true</notnull>
1634 <name>description</name>
1636 <length>255</length>
1637 <notnull>false</notnull>
1640 <name>created_by</name>
1645 <name>creation_time</name>
1646 <type>datetime</type>
1649 <name>last_modified_by</name>
1654 <name>last_modified_time</name>
1655 <type>datetime</type>
1658 <name>is_deleted</name>
1659 <type>boolean</type>
1660 <default>false</default>
1663 <name>deleted_by</name>
1668 <name>deleted_time</name>
1669 <type>datetime</type>
1673 <type>integer</type>
1674 <notnull>true</notnull>
1675 <default>0</default>
1679 <primary>true</primary>
1686 <unique>true</unique>
1695 <name>role_rights</name>
1696 <version>2</version>
1700 <type>integer</type>
1701 <autoincrement>true</autoincrement>
1704 <name>role_id</name>
1705 <type>integer</type>
1706 <unsigned>true</unsigned>
1707 <notnull>true</notnull>
1710 <name>application_id</name>
1713 <notnull>true</notnull>
1719 <notnull>true</notnull>
1723 <primary>true</primary>
1729 <name>role_id</name>
1731 <name>role_id</name>
1735 <name>application_id</name>
1737 <name>application_id</name>
1741 <name>role_rights::application_id--applications::id</name>
1743 <name>application_id</name>
1745 <foreign>true</foreign>
1747 <table>applications</table>
1749 <ondelete>cascade</ondelete>
1753 <name>role_rights::role_id--roles::id</name>
1755 <name>role_id</name>
1757 <foreign>true</foreign>
1759 <table>roles</table>
1761 <ondelete>cascade</ondelete>
1768 <name>role_accounts</name>
1769 <version>4</version>
1777 <name>role_id</name>
1778 <type>integer</type>
1779 <unsigned>true</unsigned>
1780 <notnull>true</notnull>
1783 <name>account_type</name>
1786 <default>user</default>
1787 <notnull>true</notnull>
1790 <name>account_id</name>
1793 <notnull>false</notnull>
1798 <primary>true</primary>
1804 <name>account_id-account_type-role_id</name>
1805 <unique>true</unique>
1807 <name>role_id</name>
1810 <name>account_id</name>
1813 <name>account_type</name>
1817 <name>role_accounts::role_id--roles::id</name>
1819 <name>role_id</name>
1821 <foreign>true</foreign>
1823 <table>roles</table>
1825 <ondelete>cascade</ondelete>
1832 <name>temp_files</name>
1833 <version>1</version>
1839 <notnull>true</notnull>
1842 <name>session_id</name>
1844 <notnull>true</notnull>
1848 <type>datetime</type>
1853 <notnull>true</notnull>
1858 <notnull>true</notnull>
1863 <notnull>true</notnull>
1867 <type>integer</type>
1868 <notnull>true</notnull>
1872 <type>integer</type>
1873 <unsigned>true</unsigned>
1874 <notnull>true</notnull>
1879 <primary>true</primary>
1889 <version>1</version>
1895 <notnull>true</notnull>
1898 <name>application_id</name>
1901 <notnull>true</notnull>
1906 <length>255</length>
1907 <notnull>true</notnull>
1912 <notnull>true</notnull>
1916 <primary>true</primary>
1922 <name>application_id-name</name>
1923 <unique>true</unique>
1925 <name>application_id</name>
1932 <name>config::application_id--applications::id</name>
1934 <name>application_id</name>
1936 <foreign>true</foreign>
1938 <table>applications</table>
1940 <!-- add onupdate/ondelete? -->
1946 <name>preferences</name>
1947 <version>8</version>
1953 <notnull>true</notnull>
1956 <name>account_type</name>
1959 <default>user</default>
1960 <notnull>true</notnull>
1963 <name>account_id</name>
1966 <notnull>false</notnull>
1969 <name>application_id</name>
1972 <notnull>true</notnull>
1977 <length>100</length>
1978 <notnull>true</notnull>
1983 <notnull>true</notnull>
1991 <name>options</name>
1995 <name>personal_only</name>
1996 <type>boolean</type>
2000 <type>boolean</type>
2004 <primary>true</primary>
2010 <name>app_id-name-account_id-account_type</name>
2011 <unique>true</unique>
2013 <name>application_id</name>
2019 <name>account_id</name>
2022 <name>account_type</name>
2026 <name>preferences::application_id--applications::id</name>
2028 <name>application_id</name>
2030 <foreign>true</foreign>
2032 <table>applications</table>
2034 <ondelete>cascade</ondelete>
2035 <!-- add onupdate/ondelete? -->
2045 <name>account_id</name>
2047 <name>account_id</name>
2051 <name>application_id</name>
2053 <name>application_id</name>
2059 <name>customfield</name>
2060 <version>3</version>
2066 <notnull>true</notnull>
2069 <name>record_id</name>
2072 <notnull>true</notnull>
2075 <name>customfield_id</name>
2078 <notnull>true</notnull>
2086 <primary>true</primary>
2092 <name>record_id_customfield_id</name>
2093 <unique>true</unique>
2095 <name>record_id</name>
2098 <name>customfield_id</name>
2102 <name>customfield_id</name>
2104 <name>customfield_id</name>
2110 <name>customfield_config</name>
2111 <version>5</version>
2117 <notnull>true</notnull>
2120 <name>application_id</name>
2123 <notnull>true</notnull>
2129 <notnull>true</notnull>
2135 <notnull>true</notnull>
2138 <name>definition</name>
2143 <primary>true</primary>
2149 <name>application_id-name</name>
2150 <unique>true</unique>
2152 <name>application_id</name>
2159 <name>config_customfields::application_id--applications::id</name>
2161 <name>application_id</name>
2163 <foreign>true</foreign>
2165 <table>applications</table>
2167 <!-- add onupdate/ondelete? -->
2173 <name>customfield_acl</name>
2174 <version>2</version>
2180 <notnull>true</notnull>
2183 <name>customfield_id</name>
2186 <notnull>true</notnull>
2189 <name>account_type</name>
2192 <default>user</default>
2193 <notnull>true</notnull>
2196 <name>account_id</name>
2199 <notnull>true</notnull>
2202 <name>account_grant</name>
2205 <notnull>true</notnull>
2208 <name>customfield_id-account-type-account_id-account_grant</name>
2209 <primary>true</primary>
2214 <name>customfield_id</name>
2217 <name>account_type</name>
2220 <name>account_id</name>
2223 <name>account_grant</name>
2227 <name>id-account_type-account_id</name>
2229 <name>customfield_id</name>
2232 <name>account_type</name>
2235 <name>account_id</name>
2239 <name>customfield_acl::customfield_id--customfield_config::id</name>
2241 <name>customfield_id</name>
2243 <foreign>true</foreign>
2245 <table>customfield_config</table>
2247 <ondelete>cascade</ondelete>
2248 <!-- add onupdate? -->
2254 <name>note_types</name>
2255 <version>3</version>
2261 <notnull>true</notnull>
2267 <notnull>true</notnull>
2270 <name>description</name>
2272 <length>255</length>
2273 <default>NULL</default>
2278 <length>255</length>
2279 <notnull>true</notnull>
2282 <name>icon_class</name>
2284 <length>128</length>
2285 <default>NULL</default>
2288 <name>is_user_type</name>
2289 <type>boolean</type>
2290 <notnull>true</notnull>
2291 <default>true</default>
2295 <primary>true</primary>
2304 <version>2</version>
2310 <notnull>true</notnull>
2313 <name>note_type_id</name>
2316 <notnull>true</notnull>
2321 <default>NULL</default>
2324 <name>record_model</name>
2327 <notnull>true</notnull>
2330 <name>record_backend</name>
2333 <notnull>true</notnull>
2336 <name>record_id</name>
2339 <notnull>true</notnull>
2342 <name>created_by</name>
2347 <name>creation_time</name>
2348 <type>datetime</type>
2351 <name>last_modified_by</name>
2356 <name>last_modified_time</name>
2357 <type>datetime</type>
2360 <name>is_deleted</name>
2361 <type>boolean</type>
2362 <notnull>true</notnull>
2363 <default>false</default>
2366 <name>deleted_by</name>
2371 <name>deleted_time</name>
2372 <type>datetime</type>
2376 <type>integer</type>
2377 <notnull>true</notnull>
2378 <default>0</default>
2382 <primary>true</primary>
2388 <name>record_id</name>
2390 <name>record_id</name>
2394 <name>record_model</name>
2396 <name>record_model</name>
2400 <name>record_backend</name>
2402 <name>record_backend</name>
2406 <name>notes::note_type_id--note_types::id</name>
2408 <name>note_type_id</name>
2410 <foreign>true</foreign>
2412 <table>note_types</table>
2414 <!-- add onupdate/ondelete? -->
2421 <version>5</version>
2427 <notnull>true</notnull>
2430 <name>application_id</name>
2433 <notnull>true</notnull>
2436 <name>account_id</name>
2439 <notnull>false</notnull>
2445 <notnull>true</notnull>
2448 <name>filters</name>
2450 <notnull>true</notnull>
2456 <notnull>true</notnull>
2459 <name>description</name>
2461 <notnull>false</notnull>
2464 <name>created_by</name>
2469 <name>creation_time</name>
2470 <type>datetime</type>
2473 <name>last_modified_by</name>
2478 <name>last_modified_time</name>
2479 <type>datetime</type>
2482 <name>is_deleted</name>
2483 <type>boolean</type>
2484 <default>false</default>
2487 <name>deleted_by</name>
2492 <name>deleted_time</name>
2493 <type>datetime</type>
2497 <type>integer</type>
2498 <notnull>true</notnull>
2499 <default>0</default>
2503 <primary>true</primary>
2509 <name>filter::application_id--applications::id</name>
2511 <name>application_id</name>
2513 <foreign>true</foreign>
2515 <table>applications</table>
2522 <name>filter_acl</name>
2523 <version>1</version>
2529 <notnull>true</notnull>
2532 <name>record_id</name>
2535 <notnull>true</notnull>
2538 <name>account_type</name>
2541 <default>user</default>
2542 <notnull>true</notnull>
2545 <name>account_id</name>
2548 <notnull>true</notnull>
2551 <name>account_grant</name>
2554 <notnull>true</notnull>
2557 <name>record_id-account-type-account_id-account_grant</name>
2558 <primary>true</primary>
2563 <name>record_id</name>
2566 <name>account_type</name>
2569 <name>account_id</name>
2572 <name>account_grant</name>
2576 <name>id-account_type-account_id</name>
2578 <name>record_id</name>
2581 <name>account_type</name>
2584 <name>account_id</name>
2588 <name>filter_acl::record_id--filter::id</name>
2590 <name>record_id</name>
2592 <foreign>true</foreign>
2594 <table>filter</table>
2596 <ondelete>cascade</ondelete>
2602 <name>importexport_definition</name>
2603 <version>11</version>
2609 <notnull>true</notnull>
2612 <name>application_id</name>
2615 <notnull>true</notnull>
2620 <length>128</length>
2621 <notnull>false</notnull>
2627 <notnull>true</notnull>
2633 <notnull>true</notnull>
2636 <name>description</name>
2638 <notnull>false</notnull>
2644 <notnull>true</notnull>
2650 <notnull>true</notnull>
2653 <name>plugin_options</name>
2657 <name>filename</name>
2662 <name>icon_class</name>
2664 <length>255</length>
2669 <length>255</length>
2674 <length>255</length>
2677 <name>favorite</name>
2678 <type>boolean</type>
2682 <type>integer</type>
2683 <notnull>true</notnull>
2684 <default>0</default>
2687 <name>created_by</name>
2692 <name>creation_time</name>
2693 <type>datetime</type>
2696 <name>last_modified_by</name>
2701 <name>last_modified_time</name>
2702 <type>datetime</type>
2705 <name>is_deleted</name>
2706 <type>boolean</type>
2707 <default>false</default>
2710 <name>deleted_by</name>
2715 <name>deleted_time</name>
2716 <type>datetime</type>
2720 <type>integer</type>
2721 <notnull>true</notnull>
2722 <default>0</default>
2726 <primary>true</primary>
2732 <name>model-name-type</name>
2733 <unique>true</unique>
2745 <name>importexport_definitions::app_id--applications::id</name>
2747 <name>application_id</name>
2749 <foreign>true</foreign>
2751 <table>applications</table>
2753 <!-- add onupdate/ondelete? -->
2760 <version>3</version>
2766 <notnull>true</notnull>
2769 <name>record_id</name>
2772 <notnull>true</notnull>
2778 <notnull>true</notnull>
2781 <name>alarm_time</name>
2782 <type>datetime</type>
2785 <name>sent_time</name>
2786 <type>datetime</type>
2789 <name>sent_status</name>
2792 <default>pending</default>
2793 <notnull>true</notnull>
2796 <name>sent_message</name>
2800 <name>options</name>
2805 <primary>true</primary>
2811 <name>record_id-model</name>
2813 <name>record_id</name>
2823 <version>2</version>
2829 <notnull>true</notnull>
2832 <name>timestamp</name>
2833 <type>datetime</type>
2836 <name>user_id</name>
2839 <notnull>true</notnull>
2845 <notnull>true</notnull>
2848 <name>application_id</name>
2851 <notnull>true</notnull>
2854 <name>synctoken</name>
2859 <name>container_id</name>
2864 <name>sourcetype</name>
2866 <notnull>true</notnull>
2869 <name>interval</name>
2877 <name>options</name>
2881 <name>failcount</name>
2882 <type>integer</type>
2885 <name>lastfail</name>
2890 <primary>true</primary>
2896 <name>created_by</name>
2901 <name>creation_time</name>
2902 <type>datetime</type>
2905 <name>last_modified_by</name>
2910 <name>last_modified_time</name>
2911 <type>datetime</type>
2914 <name>is_deleted</name>
2915 <type>boolean</type>
2916 <notnull>true</notnull>
2917 <default>false</default>
2920 <name>deleted_by</name>
2925 <name>deleted_time</name>
2926 <type>datetime</type>
2930 <type>integer</type>
2931 <notnull>true</notnull>
2932 <default>0</default>
2935 <name>import::application_id--applications::id</name>
2937 <name>application_id</name>
2939 <foreign>true</foreign>
2941 <table>applications</table>
2946 <name>import::user_id--accounts::id</name>
2948 <name>user_id</name>
2950 <foreign>true</foreign>
2952 <table>accounts</table>
2959 <name>async_job</name>
2960 <version>3</version>
2966 <notnull>true</notnull>
2974 <name>start_time</name>
2975 <type>datetime</type>
2978 <name>end_time</name>
2979 <type>datetime</type>
2988 <type>integer</type>
2992 <name>message</name>
2997 <primary>true</primary>
3003 <name>name-seq</name>
3004 <unique>true</unique>
3016 <version>3</version>
3022 <notnull>true</notnull>
3025 <name>state_id</name>
3027 <length>128</length>
3028 <notnull>true</notnull>
3031 <name>user_id</name>
3034 <notnull>true</notnull>
3042 <primary>true</primary>
3048 <name>user_id--state_id</name>
3049 <unique>true</unique>
3051 <name>user_id</name>
3054 <name>state_id</name>
3060 <name>openid_assoc</name>
3061 <version>1</version>
3067 <notnull>true</notnull>
3070 <name>macfunc</name>
3073 <notnull>true</notnull>
3078 <length>254</length>
3079 <notnull>true</notnull>
3082 <name>expires</name>
3083 <type>integer</type>
3084 <notnull>true</notnull>
3088 <primary>true</primary>
3096 <name>openid_sites</name>
3097 <version>1</version>
3103 <notnull>true</notnull>
3106 <name>account_id</name>
3109 <notnull>true</notnull>
3114 <length>254</length>
3115 <notnull>true</notnull>
3118 <name>trusted</name>
3123 <primary>true</primary>
3129 <name>account_id-site</name>
3130 <unique>true</unique>
3133 <name>account_id</name>
3140 <name>openid_sites::account_id--accounts::id</name>
3142 <name>account_id</name>
3144 <foreign>true</foreign>
3146 <table>accounts</table>
3148 <!-- add onupdate/ondelete? -->
3154 <name>scheduler</name>
3155 <version>1</version>
3159 <type>integer</type>
3161 <autoincrement>true</autoincrement>
3162 <notnull>true</notnull>
3167 <length>255</length>
3168 <notnull>true</notnull>
3173 <notnull>true</notnull>
3177 <primary>true</primary>
3186 <name>departments</name>
3187 <version>2</version>
3193 <notnull>true</notnull>
3198 <length>128</length>
3199 <notnull>true</notnull>
3202 <name>description</name>
3204 <length>254</length>
3205 <notnull>false</notnull>
3208 <name>created_by</name>
3213 <name>creation_time</name>
3214 <type>datetime</type>
3217 <name>last_modified_by</name>
3222 <name>last_modified_time</name>
3223 <type>datetime</type>
3226 <name>is_deleted</name>
3227 <type>boolean</type>
3228 <default>false</default>
3231 <name>deleted_by</name>
3236 <name>deleted_time</name>
3237 <type>datetime</type>
3241 <type>integer</type>
3242 <notnull>true</notnull>
3243 <default>0</default>
3247 <primary>true</primary>
3254 <unique>true</unique>
3264 <name>tree_fileobjects</name>
3265 <version>5</version>
3271 <notnull>true</notnull>
3274 <name>revision</name>
3275 <type>integer</type>
3277 <default>0</default>
3283 <notnull>true</notnull>
3286 <name>contenttype</name>
3288 <length>128</length>
3291 <name>created_by</name>
3296 <name>description</name>
3298 <notnull>false</notnull>
3301 <name>creation_time</name>
3302 <type>datetime</type>
3305 <name>last_modified_by</name>
3310 <name>last_modified_time</name>
3311 <type>datetime</type>
3314 <name>is_deleted</name>
3315 <type>boolean</type>
3316 <default>false</default>
3319 <name>deleted_by</name>
3324 <name>deleted_time</name>
3325 <type>datetime</type>
3329 <type>integer</type>
3330 <notnull>true</notnull>
3331 <default>0</default>
3334 <name>revision_size</name>
3335 <type>integer</type>
3336 <notnull>true</notnull>
3337 <default>0</default>
3340 <name>indexed_hash</name>
3346 <primary>true</primary>
3358 <name>is_deleted</name>
3360 <name>is_deleted</name>
3364 <name>description</name>
3365 <fulltext>true</fulltext>
3367 <name>description</name>
3374 <name>tree_filerevisions</name>
3375 <version>2</version>
3381 <notnull>true</notnull>
3384 <name>revision</name>
3385 <type>integer</type>
3387 <notnull>true</notnull>
3393 <notnull>true</notnull>
3397 <type>integer</type>
3399 <notnull>true</notnull>
3402 <name>preview_count</name>
3403 <type>integer</type>
3405 <notnull>true</notnull>
3406 <default>0</default>
3409 <name>created_by</name>
3414 <name>creation_time</name>
3415 <type>datetime</type>
3418 <name>id-revision</name>
3419 <primary>true</primary>
3424 <name>revision</name>
3428 <name>revision</name>
3430 <name>revision</name>
3434 <name>tree_filerevisions::id--tree_fileobjects::id</name>
3438 <foreign>true</foreign>
3440 <table>tree_fileobjects</table>
3442 <onupdate>cascade</onupdate>
3443 <ondelete>cascade</ondelete>
3447 <name>tree_filerevisions::created_by--accounts::id</name>
3449 <name>created_by</name>
3451 <foreign>true</foreign>
3453 <table>accounts</table>