statamic / eloquent-driver

Provides support for storing your Statamic data in a database, rather than flat files.
https://statamic.dev/tips/storing-content-in-a-database
MIT License
104 stars 71 forks source link

Allow publishing migrations separately #249

Closed duncanmcclean closed 4 months ago

duncanmcclean commented 4 months ago

I'm building a new php please install:eloquent-driver command into Statamic Core, which will make the process of moving "things" to the Eloquent Driver much easier.

The command will install the package & let you configure which repositories you want to move over.

As part of these changes, I didn't want to force users to publish all of the Eloquent Driver's migrations, even if they're only planning on switching one of two of the repositories.

This PR makes that possible by splitting the migrations into separate publish tags, grouped by repository.

ryanmitchell commented 4 months ago

Made a couple of minor changes, let me know what you think.

duncanmcclean commented 4 months ago

Changes look good to me. Thanks!