Misc: Restructuring directory layout to accomodate the fact that we will

be pushing DB content. We will no longer have a seperate DB repo.
This commit is contained in:
runningnak3d
2011-02-02 07:50:21 -07:00
parent 704e0af9c4
commit 0a5d8711e5
1742 changed files with 0 additions and 0 deletions
@@ -0,0 +1,9 @@
ALTER TABLE `channels`
DROP COLUMN `m_moderate`,
CHANGE `m_name` `m_name` VARCHAR(128) NOT NULL,
CHANGE `m_announce` `m_announce` TINYINT(3) UNSIGNED DEFAULT '1' NOT NULL,
CHANGE `m_public` `m_ownership` TINYINT(3) UNSIGNED DEFAULT '1' NOT NULL,
CHANGE `m_password` `m_password` VARCHAR(32) NULL,
ADD COLUMN `last_used` INT(10) UNSIGNED NOT NULL AFTER `BannedList`;
-- Set already existing/current channels to use current timestamp (saves them from being unneccesarily cleaned up)
UPDATE `channels` SET last_used = UNIX_TIMESTAMP();