mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 10:00:55 +01:00
0d7489da79
Summary: Ref T1191. Currently, the `quickstart.sql` gets generated in a pretty manual fashion. This is a pain, and will become more of a pain in the world of utf8mb4. Provide a workflow which does upgrade + adjust + dump + destroy, then massages the output to produce a workable `quickstart.sql`. Test Plan: Inspected output; I'll test this more throughly before actually generating a new quickstart, but that's some ways away. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T1191 Differential Revision: https://secure.phabricator.com/D10603
12 lines
370 B
SQL
12 lines
370 B
SQL
CREATE TABLE {$NAMESPACE}_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 LONGBLOB,
|
|
unique key (keyBody(128)),
|
|
keyComment varchar(255),
|
|
dateCreated INT UNSIGNED NOT NULL,
|
|
dateModified INT UNSIGNED NOT NULL
|
|
) ENGINE=InnoDB;
|