Comments (4)
Would we have a .up.cql as well? That seems pretty straightforward, go for it.
from trireme.
My thinking was if the file ends in <name>.up.cql
or <name>.cql
look for <name>.down.cql
. So either .up.cql or just .cql would work for the initial migration.
I'll take a shot at it! Thanks for the quick feedback.
from trireme.
I wanted to let you know that I am using https://github.com/mattes/migrate which can handle cassandra migrations. It's not nearly as lightweight, but it does have rollback already.
from trireme.
Interesting it looks like they have 2 separate up and down files. I'll keep this in mind when I get a chance to work on this ticket. Thanks!
from trireme.
Related Issues (20)
- Support pushing all files under a solr core to DSE solr HOT 1
- Generate documentation to be published along with the package. HOT 1
- Add tests
- Make location of CQL files configurable
- Add a hash of the migration that has been run to the migrations table
- Store date a migration has been run or applied
- Add migration type to the migrations table
- Don't store Solr secondary indexes in schema dump
- Do not include the solr_query column in schema dumps
- On Solr create / update compare files on disk with assets in C*
- Make communicating with devs easier...
- Writing migration CQL-scripts HOT 5
- Any plans to continue maintaining this repo? HOT 2
- Failed to launch tasks : TypeError("Tasks must have an initial Context argument!")
- Replace call() command in ```cassandra.migrate``` with Invoke's ```run()``` method
- Use proper quotes throughout .py files
- Package into something that may be installed with pip HOT 2
- Add support for authenticating against a cluster. HOT 1
- Populate default Solr Core configuration files with some content HOT 1
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 trireme.