mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-13 00:56:15 +01:00
9baada1571
Summary: Added 20130214.chatlogchannel.sql in resources/sql/patches to add a new table Test Plan: Hmmmmm ....... Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4952
12 lines
550 B
SQL
12 lines
550 B
SQL
|
|
CREATE TABLE {$NAMESPACE}_chatlog.chatlog_channel (
|
|
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
|
serviceName VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
|
serviceType VARCHAR(32) COLLATE utf8_bin NOT NULL,
|
|
channelName VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
|
viewPolicy VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
|
editPolicy VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
|
dateCreated INT UNSIGNED NOT NULL,
|
|
dateModified INT UNSIGNED NOT NULL,
|
|
UNIQUE KEY `key_channel` (channelName, serviceType, serviceName)
|
|
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
|