1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00
phorge-phorge/resources/sql/patches/20130423.updateexternalaccount.sql
Afaque Hussain 3f7ae27b58 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
2013-04-24 15:14:26 -07:00

6 lines
243 B
SQL

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;