Skip to content

Conversation

@oskardudycz
Copy link
Contributor

@oskardudycz oskardudycz commented Nov 6, 2025

It's not fully completed, but it already added unified dumbo schema management and simplified SQLToken structure to be able to reuse it in schema components.

That's the first step for declarative database management and reusing it in Pongo and Emmett a centralised way to manage migrations.

Added also the type-driven validation to enable type-safe schema definition.

This will need to do a follow-up to actually apply it in Pongo and finish validation, but it's already Duke Nukem Forever, so let's keep it at least merged and then try to do baby steps.

…omponents

They're yet dummy, but more will come then
We'll need to find a marter way for migration, probably hash calculated
automatically as it's handled eventually or some id.
…use their names isntead of urns

Thanks to that we'll be able to easier define the schema in the pongo like way.

Made also migrations unique by adding schema component key to them.
@oskardudycz oskardudycz force-pushed the migrator_and_schema_unification branch 17 times, most recently from 50ff2a3 to 77e30dd Compare December 4, 2025 10:31
@oskardudycz oskardudycz force-pushed the migrator_and_schema_unification branch 2 times, most recently from 649f945 to ec7db8e Compare December 5, 2025 14:52
@oskardudycz oskardudycz force-pushed the migrator_and_schema_unification branch from afcbc6a to 3e35bff Compare December 10, 2025 17:52
@oskardudycz oskardudycz changed the title Declarative database schema together with migrator unification Declarative database schema together with migrator unification v1 Dec 10, 2025
@oskardudycz oskardudycz marked this pull request as ready for review December 10, 2025 17:54
@oskardudycz oskardudycz added this to the 0.17.0 milestone Dec 10, 2025
@oskardudycz oskardudycz merged commit 8a266a2 into main Dec 10, 2025
1 check passed
@oskardudycz oskardudycz deleted the migrator_and_schema_unification branch December 10, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants