File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
dolphinscheduler-dao/src/main/resources/sql/upgrade/3.3.1_schema/mysql Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1414 * See the License for the specific language governing permissions and
1515 * limitations under the License.
1616*/
17-
17+ -- id is AUTO_INCREMENT MODIFY id;
18+ ALTER TABLE t_ds_workflow_definition MODIFY id INT NOT NULL ;
1819ALTER TABLE t_ds_workflow_definition DROP PRIMARY KEY ;
1920ALTER TABLE t_ds_workflow_definition ADD PRIMARY KEY (id);
21+ -- recover AUTO_INCREMENT
22+ ALTER TABLE t_ds_workflow_definition MODIFY id INT NOT NULL AUTO_INCREMENT;
2023ALTER TABLE t_ds_workflow_definition ADD UNIQUE KEY uniq_workflow_definition_code (code);
2124ALTER TABLE t_ds_command DROP COLUMN test_flag;
2225ALTER TABLE t_ds_error_command DROP COLUMN test_flag;
You can’t perform that action at this time.
0 commit comments