CRM-17663 - Cruft removal
[civicrm-core.git] / xml / schema / Core / Note.xml
index c71cd3f8da2a1dc7d0ce7e510e794b6d731a4b45..b6e60dfb17f8ef51cc33b1f3ee82ec50a1b99ff3 100644 (file)
@@ -26,6 +26,9 @@
     <length>64</length>
     <required>true</required>
     <comment>Name of table where item being referenced is stored.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_BAO_Note::entityTables</callback>
+    </pseudoconstant>
     <add>1.1</add>
   </field>
   <field>
     <length>255</length>
     <comment>Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK)</comment>
     <add>3.3</add>
+    <pseudoconstant>
+      <optionGroupName>note_privacy</optionGroupName>
+    </pseudoconstant>
   </field>
 </table>