make Force doc clear

This commit is contained in:
Matthias Kadenbach 2017-02-19 16:22:48 -08:00
parent eb02bc77fb
commit 4b91f503eb
No known key found for this signature in database
GPG Key ID: DC1F4DC6D31A7031
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ func (m *Migrate) Run(migration ...*Migration) error {
// Force sets a migration version. // Force sets a migration version.
// It does not check any currently active version in database. // It does not check any currently active version in database.
// It does not check if the database is dirty. // It resets the dirty state to false.
func (m *Migrate) Force(version int) error { func (m *Migrate) Force(version int) error {
if version < -1 { if version < -1 {
panic("version must be >= -1") panic("version must be >= -1")