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 75 forks source link

Split variables config from global sets config #172

Closed ryanmitchell closed 1 year ago

ryanmitchell commented 1 year ago

It would be nice to be able to store the set config in a different repository to the variables (eg files for set, eloquent for storage) but its not currently possible as core treats them as the same entity.

morphsteve commented 1 year ago

The same principle applies to forms vs submissions, asset containers vs assets, etc. Basically this package would be more useful if all 'config' can be in files, leaving only 'content' in the database.

ryanmitchell commented 1 year ago

Yes. You’ll see there is a PR for splitting what is possible right now. This issue (and the other for forms) is just to highlight what needs done once statamic core allows for it.

morphsteve commented 1 year ago

Ah I see, sorry. Thanks for clarifying :)