github.com/bdollma-te/migrate/v4@v4.17.0-clickv2/database/rqlite/README.md (about)

     1  # rqlite
     2  
     3  `rqlite://admin:secret@server1.example.com:4001/?level=strong&timeout=5`
     4  
     5  The `rqlite` url scheme is used for both secure and insecure connections. If connecting to an insecure database, pass `x-connect-insecure` in your URL query, or use `WithInstance` to pass an established connection.
     6  
     7  The migrations table name is configurable through the `x-migrations-table` URL query parameter, or by using `WithInstance` and passing `MigrationsTable` through `Config`.
     8  
     9  Other connect parameters are directly passed through to the database driver. For examples of connection strings, see https://github.com/rqlite/gorqlite#examples.
    10  
    11  | URL Query  | WithInstance Config | Description |
    12  |------------|---------------------|-------------|
    13  | `x-connect-insecure` | n/a: set on instance | Boolean to indicate whether to use an insecure connection. Defaults to `false`. |
    14  | `x-migrations-table` | `MigrationsTable` | Name of the migrations table.  Defaults to `schema_migrations`. |
    15  
    16  ## Notes
    17  
    18  * Uses the https://github.com/rqlite/gorqlite driver