Skip to content

Conversation

rkistner
Copy link
Contributor

@rkistner rkistner commented Nov 6, 2024

This fixes drift_sqlite_async to run Drift migrations if specified.

The issue is that drift only runs migrations while opening the database. Part of that is skipping the migrations if isOpen is true, but we always had isOpen = true immediately.

This now changes the behavior to only have isOpen = true after open() is called, which fixes the migrations.

Fixes #76.

This also removes the alpha tag for drift_sqlite_async, to release version 0.2.0.

stevensJourney
stevensJourney previously approved these changes Nov 6, 2024
@rkistner rkistner merged commit 4e183f3 into main Nov 6, 2024
6 checks passed
@rkistner rkistner deleted the fix-drift-migrations branch November 6, 2024 07:39
dfdgsdfg pushed a commit to dfdgsdfg/sqlite_async.dart that referenced this pull request Nov 6, 2024
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.

Using drift migration to create tables

2 participants