Skip to content

Commit

Permalink
moving jobs table to be alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jun 12, 2018
1 parent 696b152 commit 14d2013
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions symmetric-core/src/main/resources/symmetric-schema.xml
Expand Up @@ -317,6 +317,21 @@
<column name="last_update_time" type="TIMESTAMP" required="true" description="Timestamp when a user last updated this entry." />
</table>

<table name="job" description="Defines custom jobs that can be executed in the SymmetricDS instance.">
<column name="job_name" type="VARCHAR" size="50" required="true" primaryKey="true" description="The unique name of the job" />
<column name="job_type" type="VARCHAR" size="10" required="true" description="The type of the job. Valid values are 'sql', 'java' and 'bsh'. The system exclusively uses the 'built_in' job type." />
<column name="requires_registration" type="BOOLEANINT" size="1" required="true" default="1" description="Does the engine need to be registered for this job to run?" />
<column name="job_expression" type="LONGVARCHAR" description="The payload of the job. For bsh (beanshell) jobs, this should be bsh script. For Java jobs, this should be Java code of a class which implements the IJob interface. For SQL jobs, this should be a sql script." />
<column name="description" type="VARCHAR" size="255" description="An optional description of the job for users of the system." />
<column name="default_schedule" type="VARCHAR" size="50" description="The schedule to use if no schedule parameter is found. Overridden by job.jobname.period.time.ms or job.jobname.cron." />
<column name="default_auto_start" type="BOOLEANINT" size="1" required="true" default="1" description="Determine if this job should auto start. Overridden by start.jobname.job." />
<column name="node_group_id" type="VARCHAR" size="50" required="true" description="Target the job at a specific node group id. To target all groups, use the value of 'ALL'." />
<column name="create_by" type="VARCHAR" size="50" description="The user who created this entry." />
<column name="create_time" type="TIMESTAMP" description="Timestamp when this entry was created." />
<column name="last_update_by" type="VARCHAR" size="50" description="The user who last updated this entry." />
<column name="last_update_time" type="TIMESTAMP" description="Timestamp when a user last updated this entry." />
</table>

<table name="load_filter" description="A table that allows you to dynamically define filters using bsh.">
<column name="load_filter_id" type="VARCHAR" size="50" required="true" primaryKey="true" description="The id of the load filter." />
<column name="load_filter_type" type="VARCHAR" size="10" required="true" description="The type of load filter. Possible values include: BSH, JAVA, SQL" />
Expand Down Expand Up @@ -908,20 +923,5 @@
<reference local="router_id" foreign="router_id" />
</foreign-key>
</table>

<table name="job" description="Defines custom jobs that can be executed in the SymmetricDS instance.">
<column name="job_name" type="VARCHAR" size="50" required="true" primaryKey="true" description="The unique name of the job" />
<column name="job_type" type="VARCHAR" size="10" required="true" description="The type of the job. Valid values are 'sql', 'java' and 'bsh'. The system exclusively uses the 'built_in' job type." />
<column name="requires_registration" type="BOOLEANINT" size="1" required="true" default="1" description="Does the engine need to be registered for this job to run?" />
<column name="job_expression" type="LONGVARCHAR" description="The payload of the job. For bsh (beanshell) jobs, this should be bsh script. For Java jobs, this should be Java code of a class which implements the IJob interface. For SQL jobs, this should be a sql script." />
<column name="description" type="VARCHAR" size="255" description="An optional description of the job for users of the system." />
<column name="default_schedule" type="VARCHAR" size="50" description="The schedule to use if no schedule parameter is found. Overridden by job.jobname.period.time.ms or job.jobname.cron." />
<column name="default_auto_start" type="BOOLEANINT" size="1" required="true" default="1" description="Determine if this job should auto start. Overridden by start.jobname.job." />
<column name="node_group_id" type="VARCHAR" size="50" required="true" description="Target the job at a specific node group id. To target all groups, use the value of 'ALL'." />
<column name="create_by" type="VARCHAR" size="50" description="The user who created this entry." />
<column name="create_time" type="TIMESTAMP" description="Timestamp when this entry was created." />
<column name="last_update_by" type="VARCHAR" size="50" description="The user who last updated this entry." />
<column name="last_update_time" type="TIMESTAMP" description="Timestamp when a user last updated this entry." />
</table>

</database>

0 comments on commit 14d2013

Please sign in to comment.