From 8f2650cac7340e7386bfecef08a82d1dfe138247 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 29 Sep 2019 16:50:21 +0200 Subject: [PATCH] SQL update 5.2 Beta 1 -> Beta 2 --- .../update-com.woltlab.wcf_5.2.0_beta_2.php | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.0_beta_2.php 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 new file mode 100644 index 0000000000..44f48fe4c2 --- /dev/null +++ b/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.0_beta_2.php @@ -0,0 +1,43 @@ + + */ + +$tables = [ + DatabaseTable::create('wcf1_package_installation_sql_log') + ->columns([ + DefaultTrueBooleanDatabaseTableColumn::create('isDone'), + ]), + + DatabaseTable::create('wcf1_reaction_type') + ->columns([ + NotNullVarchar255DatabaseTableColumn::create('title'), + NotNullVarchar255DatabaseTableColumn::create('iconFile') + ->defaultValue(''), + DefaultTrueBooleanDatabaseTableColumn::create('isAssignable'), + + DefaultFalseBooleanDatabaseTableColumn::create('isDisabled') + ->drop() + ]), +]; + +(new DatabaseTableChangeProcessor( + /** @var ScriptPackageInstallationPlugin $this */ + $this->installation->getPackage(), + $tables, + WCF::getDB()->getEditor()) +)->process(); -- 2.20.1