Giter Club home page Giter Club logo

Comments (3)

robigan avatar robigan commented on July 19, 2024 1

@SoneNiko You can close this now. Migrations were manually made using alembic stamp version in prod. Internal for us: See incident report 004 for steps taken.

from bracket.

evroon avatar evroon commented on July 19, 2024

Is this shortly after reinitializing the db or did you use a new version of Bracket while still using the same database state?

I think alembic is running migrations that shouldn't be run, maybe the value in your alembic_version column ended up being old/null.

from bracket.

SoneNiko avatar SoneNiko commented on July 19, 2024

This kinda happened after both of these scenarios. I got around it by disabling the alembic migrations using the environment variable. This is just a temporary solution. I don't know what exactly is causing these issues with migration but since its probably going to happen again i will just open an issue again then.

To my limited understanding, the core issue seems to be that the migration is trying to create an pgsql enum type which already exists which is what happens last time. maybe its just an issue with how alembic handles migrations for enum types.

from bracket.

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.