Merge pull request #3649 from colemanw/totten-colemanw-validate
[civicrm-core.git] / xml / schema / Core / JobLog.xml
index c79eb49c69a4adadad207b7021986c7516b38373..4917b91c3fe64a0a945e1bf9fe07cbb72c4e26c7 100644 (file)
       <name>domain_id</name>
       <type>int unsigned</type>
       <required>true</required>
+      <pseudoconstant>
+          <table>civicrm_domain</table>
+          <keyColumn>id</keyColumn>
+          <labelColumn>name</labelColumn>
+      </pseudoconstant>
       <comment>Which Domain is this scheduled job for</comment>
       <add>4.1</add>
   </field>
@@ -30,7 +35,7 @@
        <table>civicrm_domain</table>
        <key>id</key>
        <add>4.1</add>
-  </foreignKey>  
+  </foreignKey>
   <field>
        <name>run_time</name>
        <type>timestamp</type>
@@ -69,5 +74,5 @@
        <type>text</type>
        <comment>Potential extended data for specific job run (e.g. tracebacks).</comment>
        <add>4.1</add>
-  </field>  
+  </field>
 </table>