mirror of
https://we.phorge.it/source/phorge.git
synced 2024-10-21 08:08:50 +02:00
7b718bb033
Summary: ...and get the basic edit flow "working" for a new NuanceSourceDefinition - the Phabricator Form. ...and fix a dumb bug in the query class so when you redirect to the view page / try to edit an existing NuanceSource you don't fatal. Test Plan: played around with the edit form and it worked! Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7585
11 lines
332 B
SQL
11 lines
332 B
SQL
ALTER TABLE {$NAMESPACE}_nuance.nuance_source
|
|
DROP KEY key_type;
|
|
|
|
ALTER TABLE {$NAMESPACE}_nuance.nuance_source
|
|
DROP COLUMN type;
|
|
|
|
ALTER TABLE {$NAMESPACE}_nuance.nuance_source
|
|
ADD type VARCHAR(32) NOT NULL COLLATE utf8_bin AFTER name;
|
|
|
|
ALTER TABLE {$NAMESPACE}_nuance.nuance_source
|
|
ADD KEY `key_type` (type, dateModified);
|