Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elassandra migrations #29

Open
svok opened this issue Aug 21, 2018 · 2 comments
Open

Elassandra migrations #29

svok opened this issue Aug 21, 2018 · 2 comments

Comments

@svok
Copy link

svok commented Aug 21, 2018

Elassandra contains both Cassandra and ElasticSearch databases, so they both require migrations. The current project is the closest one capable to provide both types of migrations.

For that purpose I suggest to use files with extensions esrest.json with content:

{
  "url": "http://${cassandra-host}:${elastic-port}",
  "method": "PUT",
  "path": "/${cassandra-keyspace}",
  "payload": {
    "settings": {
      "index": {
        "drop_on_delete_index": false
      }
    },
    "mappings": {
      "enforcement": {
        "properties": {
          "name": {
            "type": "text",
            "cql_collection": "singleton"
          },
        }
      }
    }
  }
}
@carlspring
Copy link

Any updates on this?

@patka
Copy link
Owner

patka commented Dec 29, 2020

Hi,

sorry I just realized that I forgot to answer to this when it was created. Currently, I do not have plans to add support for this. The main reason is that this became a project that I maintain purely in my spare time (which has become tough in the context of Covid, home office and kids being home) and there are other features that are higher on my priority list.

However, I do have plans for a redesign of the library that would make it more open and allow to plugin different implementations to some of the main classes. I think with this redesign implementing this feature should be feasable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants