Skip to content

Allow base class for migrations to be configurable #1

@MatheusRich

Description

@MatheusRich

Currently, all data migrations inherit from DataCustoms::Migration. It can be useful to configure that base class to something like ApplicationDataMigration to add shared behavior. A rough sketch of what it could look like:

class ApplicationDataMigration
  include Rspec::Matchers
end

DataCustoms.configure do |config|
  config.base_class = "ApplicationDataMigration"
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions