From 94a01acc9ccbc6344a5fdc020effa963d103db48 Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Fri, 13 Sep 2024 19:19:54 +0200 Subject: [PATCH] Update install.php --- install.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.php b/install.php index d64d37e..829c8cd 100644 --- a/install.php +++ b/install.php @@ -77,6 +77,11 @@ rex_yform_manager_table::deleteCache(); } + +rex_sql_table::get(rex::getTable('wenns_sein_muss_domain')) + ->ensureIndex(new rex_sql_index('domain_id', ['domain_id'], rex_sql_index::UNIQUE)) + ->ensure(); + rex_config::set('wenns_sein_muss', 'lastchange', date('Y-m-d H:i:s')); rex_dir::create(rex_path::addonData('wenns_sein_muss'));