Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Pass config to a setup or preflight function #16

@yhahn

Description

@yhahn

Many migration scripts are meant to target a very specific table and could lead to Bad Things 😞 if run on others.

I've currently hacked some sanity checks for the table being targeted (and bailing out) by inspecting process.argv from my migrate module but it would be cleaner/more reliable for a setup or preflight function to be called with these options (method/region/table might be sufficient?)

I can take a quick pass at implementing this if this sounds reasonable.

cc @rclark @emilymcafee

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