1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/resources/sql/autopatches/20150721.phurl.7.authorphid.sql
lkassianik 930b6fec25 DRAFT - throw together Phurl skeleton.
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
2015-07-24 11:06:27 -07:00

6 lines
268 B
SQL

ALTER TABLE {$NAMESPACE}_phurl.phurl_url
ADD authorPHID VARBINARY(64) NOT NULL;
ALTER TABLE {$NAMESPACE}_phurl.phurl_url
CHANGE description description LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT},
CHANGE longURL longURL LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT};