Giter Site home page Giter Site logo

Comments (4)

bizley avatar bizley commented on May 14, 2024

Could you paste here SQL for the table that makes this problem? Initial SQL and SQL for update. And please state the DB engine you are using.

Do I understand it correctly? - generating that migration with -g=0 and then generating update migration without any change creates the migration with alters?

from yii2-migration.

andrewpros avatar andrewpros commented on May 14, 2024

Yeah, generating migration update with the same set of parameters generates alters but with exactly the same migration code for tinyInteger or smallInteger that is already there.
I will provide more details later.

from yii2-migration.

bizley avatar bizley commented on May 14, 2024

Fixed in 3.6.2 / 2.9.2.

Thanks!

from yii2-migration.

andrewpros avatar andrewpros commented on May 14, 2024

Ahh, totally forgot about this, i was on tight schedule so i just corrected it manually, sorry, but nevertheless thx for fix.

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.