The highest tagged major version is
v3 .
Discover Packages
gopkg.in/golang-migrate/migrate.v1
driver
cassandra
package
Version:
v1.3.2
Opens a new window with list of versions in this module.
Published: May 9, 2017
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
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
Authentication: cassandra://username:password@host:port/keyspace
Cassandra v3.x: cassandra://host:port/keyspace?protocol=4
Authors
Expand ▾
Collapse ▴
Documentation
¶
Package cassandra implements the Driver interface.
Driver implements migrate Driver interface
Close last function to be called. Closes cassandra session
FilenameExtension return extension of migrations files
Initialize will be called first
Migrate run migration file. Restore previous version in case of fail
Version return current version
Source Files
¶
Click to show internal directories.
Click to hide internal directories.