Skip to content

Prepare Micrate for Amber V2 persistence - #96

Open
crimson-knight wants to merge 4 commits into
masterfrom
agent/crystal-1.21-runner
Open

Prepare Micrate for Amber V2 persistence#96
crimson-knight wants to merge 4 commits into
masterfrom
agent/crystal-1.21-runner

Conversation

@crimson-knight

@crimson-knight crimson-knight commented Aug 11, 2026

Copy link
Copy Markdown
Member

What changed

Validation

  • crystal spec (15 examples)
  • Ameba (17 files, 0 failures)
  • Crystal formatting

Integration note

Amber CLI consumes Micrate through the precompiled amber database commands, so users do not need to compile a second migration executable.

renich and others added 4 commits June 11, 2026 00:58
- Add and run ameba for linting.
- Resolve not_nil! and syntax/style issues reported by ameba.
- Ignore pedantic .ameba.yml rules like BlockParameterName.
- Rename set_database_to_schema to extract_schema_name for accuracy.

Co-developed-by: Gemini AI <renich+gemini@woralelandia.com>
Signed-off-by: Rénich Bon Ćirić <renich@woralelandia.com>
Replaced `Micrate::DB` and its global `@@connection_url` and `@@dialect` with
`Micrate::Runner` context objects. This encapsulates connection configuration
and allows for concurrent programmatic database operations.

Signed-off-by: Rénich Bon Ćirić <renich@woralelandia.com>
Co-developed-by: Gemini AI <renich+gemini@woralelandia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants