Skip to content

Commit

Permalink
#16549 table name casing (#16552)
Browse files Browse the repository at this point in the history
  • Loading branch information
wezell authored and dsilvam committed May 8, 2019
1 parent dcf7d5a commit 888fe87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public class Task04300UpdateSystemFolderIdentifier extends AbstractJDBCStartupTa
"update identifier set id = ? where id = (select identifier from folder where inode = ?)";
public static final String UPDATE_FOLDER_QUERY = "update folder set identifier = ? where inode = ?";

public static final String DROP_CONSTRAINT_QUERY = "ALTER TABLE Folder drop constraint folder_identifier_fk";
public static final String MYSQL_DROP_CONSTRAINT_QUERY = "ALTER TABLE Folder DROP FOREIGN KEY folder_identifier_fk";
public static final String CREATE_CONSTRAINT_QUERY = "ALTER TABLE Folder add constraint folder_identifier_fk foreign key (identifier) " +
public static final String DROP_CONSTRAINT_QUERY = "ALTER TABLE folder drop constraint folder_identifier_fk";
public static final String MYSQL_DROP_CONSTRAINT_QUERY = "ALTER TABLE folder DROP FOREIGN KEY folder_identifier_fk";
public static final String CREATE_CONSTRAINT_QUERY = "ALTER TABLE folder add constraint folder_identifier_fk foreign key (identifier) " +
"references identifier(id)";

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
public class Task04340TemplateShowOnMenu extends AbstractJDBCStartupTask {

private static final String UPDATE_TEMPLATE = "UPDATE Template SET show_on_menu = " + DbConnectionFactory.getDBTrue()
private static final String UPDATE_TEMPLATE = "UPDATE template SET show_on_menu = " + DbConnectionFactory.getDBTrue()
+ " WHERE TITLE NOT LIKE 'anonymous_layout_%'";

@Override
Expand Down

0 comments on commit 888fe87

Please sign in to comment.