migrate/driver/ql
Sam Willcocks 5773f75698
Add Ql driver
Adds a driver for the embedded Ql database (https://github.com/cznic/ql)
2017-01-05 15:09:41 +00:00
..
README.md Add Ql driver 2017-01-05 15:09:41 +00:00
ql.go Add Ql driver 2017-01-05 15:09:41 +00:00

README.md

Ql Driver

  • Supports both in-memory and file ql databases, with the URL schemes ql+file:// and ql+memory://
    • In-memory driver is not of much use, since the database is destroyed once the migration operation finishes, but is included for completeness.
  • Stores migration version details in automatically generated table schema_migrations.

Usage

migrate -url ql+file://./data.db -path ./migrations create add_field_to_table
migrate -url ql+file://./data.db -path ./db/migrations up
migrate help # for more info

Authors