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

Convert existing int timestamp fields to datetimes #175

@zpchavez

Description

@zpchavez

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}}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions