1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/resources/sql/patches/20130502.countdownrevamp1.sql
Lauri-Henrik Jalonen 271d6605a9 Countdown revamp
Summary:
countdown_timer table named to countdown.
datepoint and related stuff renamed to epoch.
Countdowns now have phids.
Various UI items changed from timer to countdown.

Test Plan: Did run storage upgrade and added some countdowns.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, AnhNhan

Maniphest Tasks: T2624

Differential Revision: https://secure.phabricator.com/D5812
2013-05-03 15:53:36 -07:00

8 lines
303 B
SQL

ALTER TABLE {$NAMESPACE}_countdown.countdown_timer
RENAME TO {$NAMESPACE}_countdown.countdown;
ALTER TABLE {$NAMESPACE}_countdown.countdown
change datepoint epoch INT UNSIGNED NOT NULL;
ALTER TABLE {$NAMESPACE}_countdown.countdown
ADD COLUMN phid VARCHAR(64) NOT NULL COLLATE utf8_bin AFTER id;