Giter Site home page Giter Site logo

ENUM in migrations about migrations HOT 8 CLOSED

KarelWintersky avatar KarelWintersky commented on August 15, 2024
ENUM in migrations

from migrations.

Comments (8)

hrach avatar hrach commented on August 15, 2024 2

See docs at https://nextras.org.

from migrations.

mabar avatar mabar commented on August 15, 2024

Migrations are just regular .sql files so yes, any sql compatible with your database is supported.

from migrations.

KarelWintersky avatar KarelWintersky commented on August 15, 2024

can I create this files with nextras/dbal ? On the fly, I mean

from migrations.

hrach avatar hrach commented on August 15, 2024

No, we do not have any autogeneration of the migration.

from migrations.

KarelWintersky avatar KarelWintersky commented on August 15, 2024

Sorry, what does auto generation have to do with it? I asked if your package supports SQL Enum?

from migrations.

domainfun avatar domainfun commented on August 15, 2024

@KarelWintersky asked today:

Sorry, what does auto generation have to do with it? I asked if your package supports SQL Enum?

As far as I can see, your question was answered in July 2021:

Migrations are just regular .sql files so yes, any sql compatible with your database is supported.

This means if your database server supports ENUM you can put ENUM changes in an SQL file & use it, right?

You later asked:

can I create this files with nextras/dbal ? On the fly, I mean

To me, "on the fly" sounds like you're expecting some sort of auto-generation of schema changes, hence today the reply was:

No, we do not have any autogeneration of the migration.

What are we missing?

from migrations.

KarelWintersky avatar KarelWintersky commented on August 15, 2024

Good example of using. Without dbal, doctrine and other excessive staff.

How to use your tool?

from migrations.

KarelWintersky avatar KarelWintersky commented on August 15, 2024

Can not understand anything. Can I have an example of use?

from migrations.

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.