Coder Social home page Coder Social logo

Comments (2)

rubenv avatar rubenv commented on June 7, 2024

Migrations are executed in a transaction automatically. No need for manual begin/commit.

On 27 Sep 2014, at 21:00, Raphael Randschau [email protected] wrote:

Hey,

I'm currently migrating my migrations from theory/sqitch to sql-migrate, mostly because I want to ship the migrations /w my binary together.

I ran into problems because all my migrations look like this:

BEGIN;

SET client_min_messages = 'warning';

CREATE TYPE xxx AS ENUM ('a','b');
CREATE TABLE public.xxx ();

COMMIT;
Migration failed: pq: unexpected transaction status idle
Is this any issue with sql-migrate or the postgresql library in use? If you could point me into the right direction I could start working on a pull request so migrations are properly supported.

thanks!

β€”
Reply to this email directly or view it on GitHub.

from sql-migrate.

nicolai86 avatar nicolai86 commented on June 7, 2024

thanks for the quick answer!

from sql-migrate.

Related Issues (20)

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.