mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
930b6fec25
Summary: DRAFT - throw together Phurl skeleton. Test Plan: The idea is that `some/long/url` will become `install/Udet4d` and can be viewed and edited at `install/Udet4d/view` and `install/Udet4d/edit`, respectively? Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: joshuaspence, chad, epriestley, Korvin Maniphest Tasks: T6049 Differential Revision: https://secure.phabricator.com/D13681
10 lines
459 B
SQL
10 lines
459 B
SQL
CREATE TABLE {$NAMESPACE}_phurl.phurl_url (
|
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
phid VARBINARY(64) NOT NULL,
|
|
name VARCHAR(255) NOT NULL COLLATE {$COLLATE_TEXT},
|
|
longURL VARCHAR(2047) NOT NULL COLLATE {$COLLATE_TEXT},
|
|
description VARCHAR(2047) NOT NULL COLLATE {$COLLATE_TEXT},
|
|
viewPolicy VARBINARY(64) NOT NULL,
|
|
editPolicy VARBINARY(64) NOT NULL,
|
|
spacePHID varbinary(64) DEFAULT NULL
|
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|