Coder Social home page Coder Social logo

Comments (3)

debasish117 avatar debasish117 commented on May 24, 2024

Hi @mgomes ,

Is someone working on this enhancement ? If not, then i would like to start working on this. And what is the exact enhancement description ? According to my knowledge, i think if there are pending migrations then while starting the server it should return an error message as Migrations are pending. To resolve this issue, run: stealth db:migrate. Should the scenario be considered, if the server is already running and migration is generated, should the request be checked and display error message ? Please do correct me if i am wrong .

Thanks

from stealth.

mgomes avatar mgomes commented on May 24, 2024

@debasish117 thanks so much for stepping up. I updated the issue to contain a little more info. I was thinking that in development, an error would be raised if migrations were pending. But let me know if you have other suggestions.

Right now we don't do hot code reloading in development (#55). I just couldn't get that done in time for 1.0, but it's still high on my priority list. So I think just showing the error on server start may not be enough.

What do you think?

from stealth.

debasish117 avatar debasish117 commented on May 24, 2024

I think we can check it in the controller level too. On request we can have check, if there are migrations pending then throw an error . We can have a filter to check the migrations, i think so .

from stealth.

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.