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
- Paul Bergeron, https://github.com/dinedal
- Johnny Bergström, https://github.com/balboah
- pateld982, http://github.com/pateld982
Documentation
¶
Overview ¶
Package cassandra implements the Driver interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver implements migrate Driver interface
func (*Driver) FilenameExtension ¶
FilenameExtension return extension of migrations files
func (*Driver) Initialize ¶
Initialize will be called first
Click to show internal directories.
Click to hide internal directories.