mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 17:22:42 +01:00
6270114767
Summary: - Removed trailing newlines. - Added newline at EOF. - Removed leading newlines. - Trimmed trailing whitespace. - Spelling fix. - Added newline at EOF Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: hach-que, chad, Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D8344
28 lines
840 B
SQL
28 lines
840 B
SQL
create table {$NAMESPACE}_repository.repository_commit (
|
|
id int unsigned not null auto_increment primary key,
|
|
repositoryPHID varchar(64) binary not null,
|
|
phid varchar(64) binary not null,
|
|
commitIdentifier varchar(40) binary not null,
|
|
epoch int unsigned not null,
|
|
unique key (phid),
|
|
unique key (repositoryPHID, commitIdentifier)
|
|
);
|
|
|
|
|
|
create table {$NAMESPACE}_timeline.timeline_event (
|
|
id int unsigned not null auto_increment primary key,
|
|
type char(4) binary not null,
|
|
key (type, id)
|
|
);
|
|
|
|
create table {$NAMESPACE}_timeline.timeline_eventdata (
|
|
id int unsigned not null auto_increment primary key,
|
|
eventID int unsigned not null,
|
|
eventData longblob not null,
|
|
unique key (eventID)
|
|
);
|
|
|
|
create table {$NAMESPACE}_timeline.timeline_cursor (
|
|
name varchar(255) not null primary key,
|
|
position int unsigned not null
|
|
);
|