ufront / ufront-orm

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
MIT License
13 stars 4 forks source link

Migrations #28

Closed jasononeil closed 5 years ago

jasononeil commented 8 years ago

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.

jasononeil commented 5 years ago

Closing old/stale PRs