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:
committed by
epriestley
parent
fe36c28f42
commit
3f7ae27b58
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'),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user