mirror of https://github.com/AMT-Cheif/drift.git
Update testing.md to make Windows testing docs clearer
I got errors before realizing that I needed to restart my device.
This commit is contained in:
parent
1655bcc69f
commit
f6f17de702
|
@ -53,12 +53,17 @@ class MyDatabase extends _$MyDatabase {
|
|||
We can't distribute an sqlite installation as a pub package (at least
|
||||
not as something that works outside of a Flutter build), so you need
|
||||
to ensure that you have the sqlite3 shared library installed on your
|
||||
system. On macOS, it's installed by default.
|
||||
system.
|
||||
|
||||
On macOS, it's installed by default.
|
||||
|
||||
On Linux, you can use the `libsqlite3-dev` package on Ubuntu and the
|
||||
`sqlite3` package on Arch (other distros will have similar packages).
|
||||
On Windows, you can [download sqlite](https://www.sqlite.org/download.html)
|
||||
and extract `sqlite3.dll` into a folder that's in your `PATH` environment
|
||||
variable.
|
||||
|
||||
On Windows, you can [download 'Precompiled Binaries for Windows'](https://www.sqlite.org/download.html)
|
||||
and extract `sqlite3.dll` into a folder that's in your `PATH`
|
||||
environment variable. Then restart your device to ensure that
|
||||
all apps will run with this `PATH` change.
|
||||
{{% /alert %}}
|
||||
|
||||
## Writing tests
|
||||
|
@ -110,4 +115,4 @@ test('stream emits a new user when the name updates', () async {
|
|||
## Testing migrations
|
||||
|
||||
Moor can help you generate code for schema migrations. For more details, see
|
||||
[this guide]({{< relref "Advanced Features/migrations.md#verifying-migrations" >}}).
|
||||
[this guide]({{< relref "Advanced Features/migrations.md#verifying-migrations" >}}).
|
||||
|
|
Loading…
Reference in New Issue