mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
8 lines
324 B
MySQL
8 lines
324 B
MySQL
|
CREATE TABLE {$NAMESPACE}_repository.repository_parents (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
childCommitID INT UNSIGNED NOT NULL,
|
||
|
parentCommitID INT UNSIGNED NOT NULL,
|
||
|
UNIQUE `key_child` (childCommitID, parentCommitID),
|
||
|
KEY `key_parent` (parentCommitID)
|
||
|
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|