mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +01:00
8df62d5352
Summary: With the sshd-vcs thing I hacked together, this will enable Phabricator to host repositories without requiring users to have SSH accounts. I also fixed "subporjects" and added an explicit ENGINE to it. Test Plan: Created, edited and deleted public keys. Attempted to add the same public key twice. Attempted to add invalid and unnamed public keys. Reviewed By: aran Reviewers: jungejason, tuomaspelkonen, aran, cadamo, codeblock CC: aran, epriestley Differential Revision: 711
12 lines
No EOL
381 B
SQL
12 lines
No EOL
381 B
SQL
CREATE TABLE phabricator_user.user_sshkey (
|
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
userPHID varchar(64) BINARY NOT NULL,
|
|
key (userPHID),
|
|
name varchar(255),
|
|
keyType varchar(255),
|
|
keyBody varchar(32768) BINARY,
|
|
unique key (keyBody(512)),
|
|
keyComment varchar(255),
|
|
dateCreated INT UNSIGNED NOT NULL,
|
|
dateModified INT UNSIGNED NOT NULL
|
|
) ENGINE=InnoDB; |