ahri / ahriphplibs

My PHP Libraries
http://ahri.net
GNU Affero General Public License v3.0
3 stars 0 forks source link

Enhance sqlCreate() w.r.t. TLORelationships #26

Closed ahri closed 14 years ago

ahri commented 14 years ago

Scan classes to find non-abstract TLORelationships where ::relationMany() is the relevant class, add that to the creation.

Would be more efficient to scan classes, make a cache of "many" side classes pointing to an array of relationship names, then supply that to sqlCreate(). May need to rework.

ahri commented 14 years ago

Enhanced the SQL schema generation to include relationships. Closed by 90addb10133324c5aa6b1d0d65e29bb2b8a20922