Skip to content

Auto-history update #3

@murjax

Description

@murjax

I'm not sure if this within the scope of this application's goals, but here is an issue that I think could be covered with this app.

In Rails we occasionally do data migrations. This involves creating a migration that adds or modifies a column, then updates or manipulates actual data. (e.g. Moving the user's address from the users table to the users_locations table). Initially such a migration will work just fine, and in production as well. But we reset our database in dev frequently, so such data migrations are problematic because they assume data exists. To get around this, I currently put a production restriction on the data migration part (if Rails.env.production? ). Preferably though I would like a tool to remove the data migration code from the git history once done.

Once again I'm not sure if that is applicable to this, but I thought I'd share anyway because this seems to cover similar concepts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions