Comments (4)
@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.
@BryanSD http://edgeguides.rubyonrails.org/active_record_migrations.html#creating-a-standalone-migration
from cdeploy.
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.
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)
- Use Travis CI's Cassandra service HOT 2
- Verify schema agreement after changes
- Configurable Cassandra timeouts
- cdeploy breaks when swap files are present in the migrations directory HOT 1
- Cassandra cluster not getting shutdown after running migrations in command line mode
- Better Logging
- Make cassandra port configurable HOT 4
- Provide a dry run capability HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdeploy.