mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +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:
parent
fe36c28f42
commit
3f7ae27b58
2 changed files with 10 additions and 0 deletions
6
resources/sql/patches/20130423.updateexternalaccount.sql
Normal file
6
resources/sql/patches/20130423.updateexternalaccount.sql
Normal 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;
|
|
@ -1242,6 +1242,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
|
|||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130417.externalaccount.sql'),
|
||||
),
|
||||
'20130423.updateexternalaccount.sql' => array(
|
||||
'type' => 'sql',
|
||||
'name' => $this->getPatchPath('20130423.updateexternalaccount.sql'),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue