Giter Site home page Giter Site logo

Comments (4)

NickGoodwind avatar NickGoodwind commented on May 28, 2024 1

No problem, I really appreciate your response and it really is not neccesary to go over this. The "BUG" is not as important as I don't really use both tools at the same time that much and the process to activate and deactivate is not time or effort comsuming.

from yii2-migration.

bizley avatar bizley commented on May 28, 2024

This is done on purpose to allow class autoloader to override the code. This process should only happen when the package is running anyway, how does it affect your application?

from yii2-migration.

NickGoodwind avatar NickGoodwind commented on May 28, 2024

Bizley it affects the app because I have installed a second external package insolita/yii2-migration-generator and it creates an error while trying to create a new data migration "Fatal error: calling getSchema() on a string"

So for example, if I have made a Model structural change that implied new data in DB I have to uninstall the package to be able run the data migration tool to persist curret DB state and then install back the package to be able to use the update option to have the current table structure persisted as an update migration.

But I understand your idea to override the code and if no other package is being used it makes perfect sense. Thank you for the really fast response on the issue.

from yii2-migration.

bizley avatar bizley commented on May 28, 2024

Hmm, no one ever reported this case to me. I'll install that package and see if I can find a solution.

from yii2-migration.

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.