ryangjchandler / orbit

A flat-file database driver for Eloquent. 🗄
MIT License
872 stars 39 forks source link

Keep snake-casing for backwards compatibility #128

Closed johncarter- closed 2 years ago

johncarter- commented 2 years ago

For two word models e.g. ProductVariation in v1 the source was content/product_variations/ like a standard MySQL database table naming convention.

In v2 the case was switched to kebab case. i.e. content/product-variations/

This had two effects: created new empty kebab-cased directories, and failed to find existing data.

ryangjchandler commented 2 years ago

Good spot.