1. timemachine
  2. scheduler

Commits

timemachine  committed 83ad837

Removed global unique per table on scheduler node's name b/c name could be dup for diff scheduler.

  • Participants
  • Parent commits a3ac45b
  • Branches 1.1.x

Comments (0)

Files changed (1)

File timemachine-hibernate/src/main/resources/timemachine/scheduler/hibernate/SchedulerNode.hbm.xml

View file
         <id name="id" column="ID" type="long">
             <generator class="native"/>
         </id>
-        <property name="name" type="string" column="NAME" access="field" unique="true" index="SCHEDULER_NODE_NAME" length="255"/>
+        <property name="name" type="string" column="NAME" access="field" index="SCHEDULER_NODE_NAME" length="255"/>
         <property name="host" type="string" column="HOST" access="field" length="255"/>
         <property name="ip" type="string" column="IP" access="field" length="15"/>
         <property name="createTime" type="timestamp" column="CREATE_TIME" access="field"/>