Giter VIP home page Giter VIP logo

morph's Issues

installation with Cabal fails

My installation with Cabal failed on Mac OS 10.14 while trying to install Spock, morph building failed with
src/Control/Monad/Trans/Compose.hs:60:7: error: Not in scope: type constructor or class ‘MonadFail’ | 60 | , MonadFail | ^^^^^^^^^
And when I'm trying to intsall only morph I've got a problem with postgresql package

/Users/me/.cabal/logs/ghc-8.6.3/pstgrsql-lbpq-0.9.4.3-198df10e.log
):
[1 of 1] Compiling Main             ( /var/folders/y2/0hb8j18x2mx699f66shljych0000gn/T/cabal-install.-37497/dist-newstyle/tmp/src-37498/postgresql-libpq-0.9.4.3/dist/setup/setup.hs, /var/folders/y2/0hb8j18x2mx699f66shljych0000gn/T/cabal-install.-37497/dist-newstyle/tmp/src-37498/postgresql-libpq-0.9.4.3/dist/setup/Main.o )
Linking /var/folders/y2/0hb8j18x2mx699f66shljych0000gn/T/cabal-install.-37497/dist-newstyle/tmp/src-37498/postgresql-libpq-0.9.4.3/dist/setup/setup ...
Configuring postgresql-libpq-0.9.4.3...
setup: The program 'pg_config' is required but it could not be found.

I don't know wether those two errors have the same cause or not.

Update down migration if the file is changed or gone

When migrating, the down migrations should be updated if they change in the directory.

It would enable the following workflow as well as the ability to fix a broken down migration.

  • Add both up and down migrations.
  • Deploy to production with the ability to roll back.
  • Delete the down migration from the repository.
  • Deploy to production again.
  • It's not possible to roll back anymore which is exactly what you want after a while.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.