solidusio / solidusio/solidus

Compact core migrations into a single migration

Open
#5,030 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

changelog:solidus_core
Dominant language
Ruby
Stars
5.3k
Forks
1.4k
Avg merge
1d 22h
Merged PRs (30d)
62

Description

Similarly to what we have done with https://github.com/solidusio/solidus/blob/5111949aef306ab0ad2c0b9b61af2e1e26fd2f0d/core/db/migrate/20160101010000_solidus_one_four.rb, we can compact the majority of our migrations into a single one.

This will reduce the number of migrations we copy over the host application.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading core/db/migrate/20160101010000_solidus_one_four.rb, the precedent linked in the issue, then inspect the surrounding core/db/migrate migrations. Identify which migrations can be consolidated and verify that the resulting single migration preserves the existing schema while reducing the migrations copied into the host application.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
database
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.