snipe-migrations icon indicating copy to clipboard operation
snipe-migrations copied to clipboard

Show progress

Open tuimz opened this issue 3 years ago • 4 comments

Currently there is no way to see the progress of the migration process before a test.

Would you be opposed me adding a feature that shows the migration / seeding progress. This could be (default) hidden behind a config setting. Let me know if this is something that could be merged and I will implement it.

tuimz avatar Feb 01 '22 12:02 tuimz

I'm super busy and won't have time to help or review a PR. I wonder if @JayBizzle has some time to look over a PR you create for this feature? I just noticed we have a few PR's to review. Not sure when I will get to those either.

drfraker avatar Feb 07 '22 05:02 drfraker

Surely this package is now redundant since you can now use artisan:dump-schema which does what this package set out to achieve!?

JayBizzle avatar Feb 07 '22 11:02 JayBizzle

I don't think the schema dump contains any seed info.

tuimz avatar Feb 07 '22 12:02 tuimz

I don't think the schema dump contains any seed info.

No, you'd still need to seed your database when required in tests.

I think you can use the $shouldSeed property in your test class to signify you want to seed before the test runs.

JayBizzle avatar Feb 07 '22 18:02 JayBizzle