1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

Sql Patch to update the user_externalaccount table.

Summary: Sql Patch to rename the externalaccount table to user_externalaccount and to add dateCreated, dateModified fields to the updated table.

Test Plan: {F41442}

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, AnhNhan

Differential Revision: https://secure.phabricator.com/D5770
This commit is contained in:
Afaque Hussain 2013-04-24 15:14:25 -07:00 committed by epriestley
parent fe36c28f42
commit 3f7ae27b58
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,6 @@
RENAME TABLE `{$NAMESPACE}_user`.`externalaccount`
TO `{$NAMESPACE}_user`.`user_externalaccount`;
ALTER TABLE `{$NAMESPACE}_user`.`user_externalaccount`
ADD `dateCreated` INT UNSIGNED NOT NULL,
ADD `dateModified` INT UNSIGNED NOT NULL;

View file

@ -1242,6 +1242,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
'type' => 'sql', 'type' => 'sql',
'name' => $this->getPatchPath('20130417.externalaccount.sql'), 'name' => $this->getPatchPath('20130417.externalaccount.sql'),
), ),
'20130423.updateexternalaccount.sql' => array(
'type' => 'sql',
'name' => $this->getPatchPath('20130423.updateexternalaccount.sql'),
),
); );
} }
} }