wordpress-orm icon indicating copy to clipboard operation
wordpress-orm copied to clipboard

Implementation of post meta table

Open joworeiter opened this issue 2 years ago • 1 comments

Hi there, I was wondering if I could offer a Pull Request for the post meta table. But before I would like your opinion on how to implement it. In a project of mine I did a quick implementation with a trait of BaseModel Class since post_meta doest has an ID column and so it would throw ab error. Eventhough this works, I was wondering if it's not better to create a new abstract class, which contains the Id, so that there is more flexibility on creating own tables. Thanks for your feedback!

joworeiter avatar Oct 26 '22 11:10 joworeiter

I was wondering if it's not better to create a new abstract class, which contains the Id, so that there is more flexibility on creating own tables.

I think this is a good idea @joworeiter

rjjakes avatar Oct 27 '22 14:10 rjjakes

#9 Pull Request is here!

joworeiter avatar Feb 22 '23 09:02 joworeiter

I've merged your PR to master

rjjakes avatar Feb 23 '23 08:02 rjjakes