Community

How to generate sql foreign keys from xpdo schema?

… with the idea to build Mojolicious::Plugin::MODX backed by PostgreSQL in a Perl environment where I’m much more comfortable.

Hi, can you explain what you mean a bit more?

Foreign keys in xpdo don’t progress into the database server, right? So if i want to use MODX concepts on a totally different platform, and perhaps even interface with MODX, it would save time not having to define all relations in the database manually too. I’m looking for a way to translate an xpdo based schema into some other representation.