Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream and allow engines #244

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

chrisblatchley
Copy link

@chrisblatchley chrisblatchley commented Jan 31, 2023

This is an update which fixes the failing tests in #225 as well as ensures that the data rake tasks run successfully when there are multiple migration paths due to engines also using data migrations.

another alternative here is to install the migrations into the host application, which is how i believe schema migrations work. open to thoughts on strategy here!


DEFAULT_DATA_TEMPLATE_PATH = "data_migration.rb"

def initialize
@data_migrations_path = "db/data/"
@data_migrations_gen_path = "db/data"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does gen stand for? do you mind adding it to the docs as well. also, please rebase with main, at some point travisci tests stopped running to i switched to github actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants