codeigniter4 / settings

Settings Library for CodeIgniter 4
https://settings.codeigniter.com
MIT License
86 stars 24 forks source link

Custom Table Name without changing vendor files #100

Closed Superflotsch closed 1 year ago

Superflotsch commented 1 year ago

Couldn't find an option to change the settings-tablename in my custom setup without changing the table name in the vendor files, which is not recommended.

kenjis commented 1 year ago

Copy the following file to app/Config/ https://github.com/codeigniter4/settings/blob/8f1a05e4f2ebb9e2d35cb716ef2915a0f80a32a8/src/Config/Settings.php#L33 and update namespace and the table value.