Skip to content
This repository has been archived by the owner on Mar 31, 2018. It is now read-only.

Convert existing int timestamp fields to datetimes #175

Open
zpchavez opened this issue Feb 10, 2015 · 0 comments
Open

Convert existing int timestamp fields to datetimes #175

zpchavez opened this issue Feb 10, 2015 · 0 comments

Comments

@zpchavez
Copy link
Contributor

Convert existing int timestamp fields to datetimes

Acceptance Criteria

  1. The following columns are auto-updated datetimes
    1. users.created is an auto-updated datetime.
    2. user_tokens.created is an auto-updated datetime.
    3. emails.created is an auto-updated datetime.
    4. emails.updated is an auto-updated datetime.
    5. Anything I may have missed
  2. Task exists for updating the database

Tasks

  • Write upgrade task to change data types (doing so non-destructively will require creating a temporary column, converting existing int timestamps over to it, dropping the original column, and then renaming the temp column to the original name).
  • Change updatedTimestampColumn to updatedDatetimeColumn
  • Change createdTimestampColumn to updatedDatetimeColumn

Additional Notes

  • {{list additional notes here, remove if not applicable}}
@zpchavez zpchavez added this to the Sprint ∞ milestone Feb 10, 2015
@bobeagan bobeagan modified the milestones: Product Backlog, Sprint ∞ Feb 19, 2015
@zpchavez zpchavez added BC and removed F-Version 2 labels May 29, 2015
@zpchavez zpchavez changed the title V2: convert existing int timestamp fields to datetimes Convert existing int timestamp fields to datetimes May 29, 2015
@zpchavez zpchavez added BC-Breaking and removed BC labels May 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants