Giter VIP home page Giter VIP logo

Comments (4)

BryanSD avatar BryanSD commented on August 20, 2024

@bradgignac, can you point me to some documentation about this timestamp-based versioning system? I don't have a history with Ruby on Rails so I'm unfamiliar. I'm happy to consider it after doing a little investigation. Thanks!

from cdeploy.

bradgignac avatar bradgignac commented on August 20, 2024

@BryanSD http://edgeguides.rubyonrails.org/active_record_migrations.html#creating-a-standalone-migration

from cdeploy.

BryanSD avatar BryanSD commented on August 20, 2024

I took a quick look at this and I think it'll actually work with cdeploy as-is. Currently, the filename is split on underscores and the first portion is converted to an integer. We then simply sort the integers to get the order in which to apply the migration scripts.

If your migration files took the form of 20150317154512_add_table.cql and 20150317144556_add_column.cql that'd work, no? Of course that doesn't help if any conflicting CQL statements are contained within two files but you'd have that problem either way.

Maybe it'd be beneficial to add a tip around this to the documentation?

from cdeploy.

BryanSD avatar BryanSD commented on August 20, 2024

Closing since this may not be a problem and seems to be abandoned. Happy to reopen if the need arises.

from cdeploy.

Related Issues (9)

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.