Skip to content

Add ability to fake migrations#150

Open
youssefsiam38 wants to merge 1 commit into
go-gormigrate:masterfrom
CloudInn:faking-feature
Open

Add ability to fake migrations#150
youssefsiam38 wants to merge 1 commit into
go-gormigrate:masterfrom
CloudInn:faking-feature

Conversation

@youssefsiam38

Copy link
Copy Markdown

This fixes #31

This feature was needed for our system as we are migrating from our old migration system to a new one that uses gomigrate, so we need to fake the old migrations in order to proceed.

Functions added

  • FakeMigrate
  • FakeMigrateTo
  • FakeRollbackLast
  • FakeRollbackTo
  • FakeRollbackMigration

@egandro

egandro commented Aug 20, 2023

Copy link
Copy Markdown

That is an indicator that his project is a bit outdated :(

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.

Allow fake migrations

2 participants