laravel-meta icon indicating copy to clipboard operation
laravel-meta copied to clipboard

Is it possible to add an extra column or group metas?

Open dhcmega opened this issue 6 years ago • 3 comments

Hi I have 2 type of metas, config metas and content metas. I would like to create a CRUD for each one, but I will need to find a way to separate them. Maybe adding an extra column like extra. Have someone faced this situation? Any ideas? Thanks!

dhcmega avatar Aug 02 '18 14:08 dhcmega

@dhcmega were you able to implement that? do you mind sending a PR request for this feature?

kodeine avatar Sep 28 '19 01:09 kodeine

Hi, it will be my first PR. This week is a busy week for me, but I will try to do it next week. It will be good to help the community. Thanks!

dhcmega avatar Oct 01 '19 02:10 dhcmega

Hi @kodeine do you think that adding the JSON type to the rows would work? That would very simply allow to create a record with as many extra fields as needed with a decent search feature to use in sql queries, right?

EDIT1: I think that performance will be affected as a JSON column cannot get indexed.

dhcmega avatar Oct 04 '19 15:10 dhcmega