mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00

* Part 1 Removing closing tags when no HTML or other output comes after the last PHP codeblock. * Further removals * nothing --------- Co-authored-by: slawkens <slawkens@gmail.com>
11 lines
426 B
PHP
11 lines
426 B
PHP
<?php
|
|
|
|
// add new forum.guild and forum.access fields
|
|
if(!$db->hasColumn(TABLE_PREFIX . 'forum_boards', 'guild')) {
|
|
$db->query("ALTER TABLE `" . TABLE_PREFIX . "forum_boards` ADD `guild` TINYINT(1) NOT NULL DEFAULT 0 AFTER `closed`;");
|
|
}
|
|
|
|
if(!$db->hasColumn(TABLE_PREFIX . 'forum_boards', 'access')) {
|
|
$db->query("ALTER TABLE `" . TABLE_PREFIX . "forum_boards` ADD `access` TINYINT(1) NOT NULL DEFAULT 0 AFTER `guild`;");
|
|
}
|