Home

Awesome

Cassandra Driver

Usage

migrate -url cassandra://host:port/keyspace -path ./db/migrations create add_field_to_table
migrate -url cassandra://host:port/keyspace -path ./db/migrations up
migrate help # for more info

Url format

Cassandra in Docker users on a Mac: when using gcql + migrate, use the disable_init_host_lookup option in the connection URL. This will alleviate the issue of gocql trying to connect to internal docker IP addresses.

Authors