From ca2cfaf71e33f42c00f5baf4792ba8396e6d0042 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 26 Feb 2017 04:37:05 -0500 Subject: cmd: able to backup and restore Not very robust, must execute under correct workdir. Addresses #2072, #3708, #648 --- models/migrations/migrations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/migrations/migrations.go') diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go index 765ad93c..e543ae62 100644 --- a/models/migrations/migrations.go +++ b/models/migrations/migrations.go @@ -42,7 +42,7 @@ func (m *migration) Migrate(x *xorm.Engine) error { // The version table. Should have only one row with id==1 type Version struct { - ID int64 `xorm:"pk autoincr"` + ID int64 Version int64 } -- cgit v1.2.3