From fc2d2ba4b00105181356197b17388d61fc43dbc6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 29 Sep 2019 16:56:37 +0200 Subject: [PATCH] Moved the SQL-Log column into a separate update SQL --- com.woltlab.wcf/update_5.2_pre_sql_api.sql | 2 ++ .../files/acp/update-com.woltlab.wcf_5.2.0_beta_2.php | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 com.woltlab.wcf/update_5.2_pre_sql_api.sql diff --git a/com.woltlab.wcf/update_5.2_pre_sql_api.sql b/com.woltlab.wcf/update_5.2_pre_sql_api.sql new file mode 100644 index 0000000000..5a01b36c35 --- /dev/null +++ b/com.woltlab.wcf/update_5.2_pre_sql_api.sql @@ -0,0 +1,2 @@ +-- The database API requires this column in order to work properly. DO NOT MOVE THIS! +ALTER TABLE wcf1_package_installation_sql_log ADD COLUMN isDone TINYINT(1) NOT NULL DEFAULT 1; diff --git a/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.0_beta_2.php b/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.0_beta_2.php index 44f48fe4c2..e2020af621 100644 --- a/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.0_beta_2.php +++ b/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.0_beta_2.php @@ -18,11 +18,6 @@ use wcf\system\WCF; */ $tables = [ - DatabaseTable::create('wcf1_package_installation_sql_log') - ->columns([ - DefaultTrueBooleanDatabaseTableColumn::create('isDone'), - ]), - DatabaseTable::create('wcf1_reaction_type') ->columns([ NotNullVarchar255DatabaseTableColumn::create('title'), -- 2.20.1