aschampion / schemer

A database schema migration library with DAG dependencies
Apache License 2.0
6 stars 4 forks source link

`schemer-rusqlite`: Missing instructions or automated initialization: `no such table: _schemer` #22

Open nathan-at-least opened 1 year ago

nathan-at-least commented 1 year ago

In my application when I run the migration example in the crate docs, I get an error with "no such table: _schemer", so either the docs are skipping a step or if the API is intended to function as documented, there is a bug.

The anyhow::Error displayed by my unit test looks like this:

Error: An error occurred while interacting with the adapter.

Caused by:
    0: no such table: _schemer
    1: Error code 1: SQL error or missing database

Note, this same error is triggered by the literal doc example which is demonstrated in #21 which ensures the doc example is executed by automated testing.