icomefromthenet / Faker

A Database Testing Tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler for the schema

icomefromthenet opened this issue · comments

Currently using a builder / director (schema parser) to setup a schema composite, the process with the future addition of foreign key support will increase the complexity of the build. To help keep the code testable will abstract out the build process to also use a compiler.

The compiler will during the build phase, need to do for example the following.

(1) Inject foreign key columns.
(2) Circular reference check.
(3) Table reorder (prevent FK sequence errors).

This would be an internal tool and not available to extend in the user space (ext found in project folder).