mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
11 lines
389 B
MySQL
11 lines
389 B
MySQL
|
CREATE DATABASE IF NOT EXISTS phabricator_chatlog;
|
||
|
CREATE TABLE phabricator_chatlog.chatlog_event (
|
||
|
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||
|
channel VARCHAR(64) BINARY NOT NULL,
|
||
|
epoch INT UNSIGNED NOT NULL,
|
||
|
author VARCHAR(64) BINARY NOT NULL,
|
||
|
type VARCHAR(4) NOT NULL,
|
||
|
message LONGBLOB NOT NULL,
|
||
|
loggedByPHID VARCHAR(64) BINARY NOT NULL,
|
||
|
KEY (channel, epoch)
|
||
|
);
|