Skip to content

refactor: squash migrations#186

Merged
itinerare merged 3 commits into
lk-arpg:developfrom
itinerare:feature/squash-migrations
Oct 7, 2021
Merged

refactor: squash migrations#186
itinerare merged 3 commits into
lk-arpg:developfrom
itinerare:feature/squash-migrations

Conversation

@itinerare
Copy link
Copy Markdown
Member

Courtesy of the relevant addition to Laravel 8, compresses migrations extant prior to 2.0.0 into one schema file. This is run if no other migrations have been (if setting up a fresh DB or running migrate:fresh), hence the cutoff on what migrations are impacted-- the assumption must necessarily be made that there are no installations out there that have not yet run all of the impacted migrations. Existing DBs should not be impacted at all.

Tested locally in a Debian env/comparable to standard server setups; would like confirmation that it behaves in other desktop environments, however

@itinerare itinerare requested a review from Draginraptor October 2, 2021 20:01
@itinerare itinerare added the needs review Pull requests that are pending community review label Oct 2, 2021
@itinerare itinerare changed the title reactor: squash migrations refactor: squash migrations Oct 2, 2021
@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Oct 7, 2021
@itinerare itinerare merged commit 2511300 into lk-arpg:develop Oct 7, 2021
@itinerare itinerare deleted the feature/squash-migrations branch October 7, 2021 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviewed Pull requests that have received community review and are pending merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants