Giter Club home page Giter Club logo

Comments (3)

jasonmccreary avatar jasonmccreary commented on June 2, 2024

Thanks for the feedback. Sounds like a feature request and a bug. Let me make sure I am understanding…

First, Blueprint is correctly generating the proper data types for columns in the migration and relationship in the model. However, it's not generating the foreign key constraint in the migration. Is this correct?

If so, this is currently the expected behavior. Blueprint does not generate constraints, indexes, etc. Only the columns.

Second, due to Blueprint generating multiple migrations so quickly, the timestamps aren't incrementing. Ideally, these timestamps should be sequenced to match their order in the draft.yaml file to ensure any previous dependent data exists.

This is indeed a bug and I'll retag it in a separate issue and get a patch out in the next few days.

from blueprint.

axit-joost avatar axit-joost commented on June 2, 2024

That's cool.

from blueprint.

jasonmccreary avatar jasonmccreary commented on June 2, 2024

Cool. I'll tag this for the sequencing bug.

Feel free to open a new issue requesting the foreign key and index generation.

from blueprint.

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.