<add>4.1</add>
<log>false</log>
<field>
- <name>id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>Job log entry Id</comment>
- <add>4.1</add>
+ <name>id</name>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>Job log entry Id</comment>
+ <add>4.1</add>
</field>
<primaryKey>
- <name>id</name>
- <autoincrement>true</autoincrement>
+ <name>id</name>
+ <autoincrement>true</autoincrement>
</primaryKey>
<field>
- <name>domain_id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>Which Domain is this scheduled job for</comment>
- <add>4.1</add>
+ <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>
<foreignKey>
- <name>domain_id</name>
- <table>civicrm_domain</table>
- <key>id</key>
- <add>4.1</add>
+ <name>domain_id</name>
+ <table>civicrm_domain</table>
+ <key>id</key>
+ <add>4.1</add>
</foreignKey>
<field>
- <name>run_time</name>
- <type>timestamp</type>
- <comment>Log entry date</comment>
- <add>4.1</add>
+ <name>run_time</name>
+ <type>timestamp</type>
+ <comment>Log entry date</comment>
+ <add>4.1</add>
</field>
<field>
- <name>job_id</name>
- <type>int unsigned</type>
- <comment>Pointer to job id - not a FK though, just for logging purposes</comment>
- <add>4.1</add>
+ <name>job_id</name>
+ <type>int unsigned</type>
+ <comment>Pointer to job id - not a FK though, just for logging purposes</comment>
+ <add>4.1</add>
</field>
<field>
- <name>name</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Title of the job</comment>
- <add>4.1</add>
+ <name>name</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Title of the job</comment>
+ <add>4.1</add>
</field>
<field>
- <name>command</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Full path to file containing job script</comment>
- <add>4.1</add>
+ <name>command</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Full path to file containing job script</comment>
+ <add>4.1</add>
</field>
<field>
- <name>description</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Title line of log entry</comment>
- <add>4.1</add>
+ <name>description</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Title line of log entry</comment>
+ <add>4.1</add>
</field>
<field>
- <name>data</name>
- <type>text</type>
- <comment>Potential extended data for specific job run (e.g. tracebacks).</comment>
- <add>4.1</add>
+ <name>data</name>
+ <type>text</type>
+ <comment>Potential extended data for specific job run (e.g. tracebacks).</comment>
+ <add>4.1</add>
</field>
</table>