haskell-beam / haskell-beam/beam

`beam-migrate simple schema` fails on all but empty database

Open
#269 5 comments 0 reactions 0 assignees View on GitHub
migration-framework
Dominant language
Haskell
Stars
635
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Based on instructions at #27 I run `stack exec -- beam-migrate simple schema --backend Database.Beam.Postgres.Migrate --connection "dbname= user= password="` to create a schema from an existing database, but:

- Running on my full (complex) postgres database results in `beam-migrate` occupying all available memory then coredumping.
- Running on a test database with even one table results in `beam-migrate: user error (Could not form haskell schema)`
- Running on a completely empty test database seems to work OK.

Using beam master branch and Postgresql 10.4 on Arch linux.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.