Giter VIP home page Giter VIP logo

Comments (6)

stanislas-m avatar stanislas-m commented on August 22, 2024

@u007 schema.sql is only present in the migrations directory. Try to remove both files and migrate to see if you still have the problem.

from pop.

u007 avatar u007 commented on August 22, 2024

soda -e test schema load test seems to fail if schema.sql is missing from root

from pop.

stanislas-m avatar stanislas-m commented on August 22, 2024

My bad, it seems the defaults for migrate and load / dump schema.sql location are different. I'll dig this a bit more.

from pop.

u007 avatar u007 commented on August 22, 2024

it turn out this accidental issue might be a bless somehow.
when we duplicate existing project, there are times when we remove all existing migration and only use schema load to load.

but eventually we add in new migration files before 1st deployment. and schema load should be done 1st, but if schema already contains all migrations, there will be error.
the solution to this is to insert schema migration manually to avoid the migration.

but i think its better to have only 1 schema as discussed above 👍

from pop.

stanislas-m avatar stanislas-m commented on August 22, 2024

Fixed with #133.

from pop.

u007 avatar u007 commented on August 22, 2024

thank you :)

from pop.

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.