The Object Relational Mapper, allows easy, type-safe access to your database. Builds on Haxe's SPOD but adds macro powered relationships, validation and client side usage
So far it doesn't auto-create migrations, and not all features will work cross platform, but it's a start! I think it'll be safe to merge as is.
There is a change that seems breaking but isn't: I've updated "BelongsTo<>" relationships to be "SInt" rather than "SUInt", because the IDs are "SId" rather than "SUId". (I considered changing all IDs to SUId, but Sqlite doesn't support that).
I think I'll merge in the work done so far soon, and then follow through with the full auto-creation of migrations later.
This is the initial work on a migration API.
So far it doesn't auto-create migrations, and not all features will work cross platform, but it's a start! I think it'll be safe to merge as is.
There is a change that seems breaking but isn't: I've updated "BelongsTo<>" relationships to be "SInt" rather than "SUInt", because the IDs are "SId" rather than "SUId". (I considered changing all IDs to SUId, but Sqlite doesn't support that).
I think I'll merge in the work done so far soon, and then follow through with the full auto-creation of migrations later.