README.md
      
      
        
        # storch
[](https://hex.pm/packages/storch)
[](https://hexdocs.pm/storch/)
```sh
gleam add storch
```
```gleam
import storch.{Migration}
import sqlight
pub fn main() {
  let migrations = [
    Migration(
      0001, 
      "create table if not exists users (id integer, username text, password_hash text);"
    )
  ]
  use connection <- sqlight.with_connection(":memory:")
  storch.migrate(migrations, on: connection)
}
```
Further documentation can be found at <https://hexdocs.pm/storch>.
## Development
```sh
gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell
```