Skip to content

Conversation

ezeparziale
Copy link

I added the migrations section to use SQLModel with alembic.

  • Initial example
  • Step by step
  • Example codes

Updated release from: #512

@github-actions github-actions bot added the docs Improvements or additions to documentation label Sep 7, 2025
@ezeparziale ezeparziale mentioned this pull request Sep 7, 2025
3 tasks

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@svlandeg
Copy link
Member

Just as a maintenance note, #689 is a related PR.

@dheerapat
Copy link

this is great, no external dependency required, should be able to merged to doc site

@YuriiMotov
Copy link
Member

@ezeparziale, thanks for your interest!

It's mentioned in the roadmap, that there is a plan to implement "Integrated migrations (using Alembic)".
As I understand, the idea is not just use alembic directly, but implement a simpler interface for migrations.

#689 "Integrates" migrations into sqlmodel command, but, IMO, the configuration process can still be simplified more.

@hongfanmeng
Copy link

It has been nearly two years since the roadmap proposed the integrated migration plan. Could we temporarily provide documentation on using Alembic for migration in the meantime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants