Skip to content

Commit

Permalink
Update maj.php
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeDevome committed Dec 16, 2024
1 parent 32e1018 commit 839a009
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions installation/fonctions/maj.php
Original file line number Diff line number Diff line change
Expand Up @@ -1209,11 +1209,11 @@ function execute_maj4($version_old_bdd, $version_grr_bdd)
$result_inter .= traiteRequete("INSERT INTO ".TABLE_PREFIX."_setting VALUES ('login_logo', '1');");
$result_inter .= traiteRequete("INSERT INTO ".TABLE_PREFIX."_setting VALUES ('login_nom', '1');");

$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_room ADD `statutmini` VARCHAR(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_room ADD `lien` VARCHAR(255) COLLATE utf8mb4_unicode_ci NOT NULL;");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_room ADD `nouveauonglet` TINYINT(1) NOT NULL DEFAULT '1';");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_room ADD `ordre` SMALLINT(6) NOT NULL DEFAULT '0';");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_room ADD `emplacement` SMALLINT(6) NOT NULL DEFAULT '1';");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_pages ADD `statutmini` VARCHAR(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_pages ADD `lien` VARCHAR(255) COLLATE utf8mb4_unicode_ci NOT NULL;");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_pages ADD `nouveauonglet` TINYINT(1) NOT NULL DEFAULT '1';");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_pages ADD `ordre` SMALLINT(6) NOT NULL DEFAULT '0';");
$result_inter .= traiteRequete("ALTER TABLE ".TABLE_PREFIX."_pages ADD `emplacement` SMALLINT(6) NOT NULL DEFAULT '1';");

if ($result_inter == '')
$result .= formatresult("Ok !","<span style='color:green;'>","</span>");
Expand Down

1 comment on commit 839a009

@ynaessens
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bonjour,
la table est grr_page et non grr_pages...
Cordialement,
YN

Please sign in to comment.