diff --git a/internal/dialect/dialectquery/mysql.go b/internal/dialect/dialectquery/mysql.go index b14ef392b..1ce165cef 100644 --- a/internal/dialect/dialectquery/mysql.go +++ b/internal/dialect/dialectquery/mysql.go @@ -8,7 +8,7 @@ var _ Querier = (*Mysql)(nil) func (m *Mysql) CreateTable(tableName string) string { q := `CREATE TABLE %s ( - id serial NOT NULL, + id bigint(20) unsigned NOT NULL AUTO_INCREMENT, version_id bigint NOT NULL, is_applied boolean NOT NULL, tstamp timestamp NULL default now(),