Simon Binder
df32408a7c
Add destructive migration feature ( #576 )
2020-05-16 13:22:09 +02:00
Simon Binder
0a30b8a12e
Upgrade integration tests, release sqlparser 0.8
2020-05-03 13:28:34 +02:00
Simon Binder
97cff8564d
Migrate integration tests to DatabaseConnection
2020-04-25 15:12:55 +02:00
Simon Binder
bc1f347498
Test transactions in migrations ( #430 )
2020-03-15 15:16:22 +01:00
David Martos
2bcd51f437
The onUpgrade callback in the moor migrator was not being fired when downgrading a database using moor_flutter.
...
The change has been made to moor_flutter and to moor_flutter with encryption
2020-03-03 23:14:19 +01:00
David Martos
3fba2ce05b
Improvements in the moor_flutter integration tests
...
* The asset db test was not being cleaned up
* The batch execution was not being awaited, so sometimes was interfering with other tests with the error (1032) SQLITE_READONLY_DBMOVED (https://www.sqlite.org/rescode.html#readonly_dbmoved )
2020-03-03 23:14:19 +01:00
Simon Binder
8c4c6cd8cd
Remove insertAll and orReplace
2020-02-17 18:11:01 +01:00
Simon Binder
76ac7c7ab3
Support batches in transactions ( #271 )
2019-12-16 15:50:12 +01:00
Simon Binder
3c74a20f56
Enable more recent lints and enforce them
2019-12-04 21:45:09 +01:00
Simon Binder
77cc6b2d88
Use extensions methods for Dart query api ( #195 )
2019-11-06 12:16:55 +01:00
Simon Binder
98470109cf
Remove built_value(_generator) dependency from generator
2019-11-04 17:09:21 +01:00
Simon Binder
b189a2bcb2
Better errors on QueryExecutor misuse, fix beforeOpen
2019-11-02 11:48:11 +01:00
Simon Binder
22dee72680
Bump sqflite dependency, integration test for array args
2019-09-21 13:20:19 +02:00
Simon Binder
c8ae99b52e
Breaking changes for the upcoming version
...
1. Removes transaction parameter in callbacks, custom queries
2. Removes MigrationStrategy.onFinished
2019-09-13 21:04:15 +02:00
Simon Binder
e38719a194
Write changelogs, prepare release 1.7
2019-08-22 12:27:39 +02:00
Simon Binder
3dcf59af63
Fix some bugs in the sql parser, another integration test
2019-08-17 22:21:34 +02:00
Simon Binder
a4bfda494d
Add integration tests for transactions
...
Also fixes some bugs on the way
2019-07-31 20:47:58 +02:00
Simon Binder
f4bc8e2121
Integration tests for type converters
2019-07-28 11:43:02 +02:00
Simon Binder
4bf58cb83b
API to close databases, integration test that saves data
2019-07-25 17:04:32 +02:00
Simon Binder
a7395ba83d
Write integration tests, sort of run them in Flutter
2019-07-24 22:14:02 +02:00