Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Fix status time #19

Closed
wants to merge 3 commits into from
Closed

Fix status time #19

wants to merge 3 commits into from

Conversation

nkammah
Copy link
Contributor

@nkammah nkammah commented Nov 1, 2013

The first commit fixes typos that were preventing the status time from being saved.
The second commit removes every references to etsy status time and renames them into status time. That commit is a breaking change for current up and running installation of morgue - upon pulling, the affected users will have to run

alter table postmortems change etsystatustime statustime int(11) UNSIGNED NOT NULL;

I'd be happy to update the pull request, should we decide to keep etsystatustime as a field in the DB,

nkammah added 2 commits November 1, 2013 23:50
rename etsystatustime into statustime (including in DB which will break currently up and running installations)

migration change - run the following query:
alter table postmortems change etsystatustime statustime int(11) UNSIGNED NOT NULL;
@mrtazz
Copy link
Contributor

mrtazz commented Nov 8, 2013

lgtm, I think we should also add a migration script so it's easier for people to update.

mysql -p -u morgue -h localhost morgue < schemas/migrations/rename_statustime_column.sql
@nkammah
Copy link
Contributor Author

nkammah commented Nov 8, 2013

@mrtazz added migration file - is that the proper way of handling such migrations? Thoughts on communicating the change?

@nkammah nkammah closed this Nov 10, 2013
@nkammah nkammah deleted the fix_status_time branch November 10, 2013 15:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants