Skip to content

Commit

Permalink
squash w/ startup/shutdown. Use VARCHAR instead of VARCHAR2 for MySQL.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Nov 5, 2024
1 parent d71f6fc commit 4f48f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/irods/database_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def run_update(irods_config, cursor):
if irods_config.catalog_database_type == 'postgres':
database_connect.execute_sql_statement(cursor, "alter table R_RULE_EXEC alter column exe_status type varchar(300);")
elif irods_config.catalog_database_type == 'mysql':
database_connect.execute_sql_statement(cursor, "alter table R_RULE_EXEC modify exe_status varchar2(300);")
database_connect.execute_sql_statement(cursor, "alter table R_RULE_EXEC modify exe_status varchar(300);")
elif irods_config.catalog_database_type == 'oracle':
database_connect.execute_sql_statement(cursor, "alter table R_RULE_EXEC modify (exe_status varchar2(300));")

Expand Down

0 comments on commit 4f48f30

Please sign in to comment.