Changed migrations table struct of field `version` to fix support `database.NilVersion` and default version format.

This commit is contained in:
DBobrov 2018-12-28 15:53:55 +03:00
parent 24176463f4
commit 26064905d4
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ func (ch *ClickHouse) ensureVersionTable() error {
// if not, create the empty migration table
query = `
CREATE TABLE ` + ch.config.MigrationsTable + ` (
version UInt32,
version Int64,
dirty UInt8,
sequence UInt64
) Engine=TinyLog