mattes / migrate

Database migrations. CLI and Golang library.
Other
2.29k stars 326 forks source link

How to work with Clickhouse DB, "File does not exist" for second migration #302

Open xkeyAD opened 6 years ago

xkeyAD commented 6 years ago

When I do migration of data for example for - testdb all migrations are uploaded it results in a formulated table with schema_migrations

When I perform the second migrations for test db It results in the error of : "File does not exist" But if I use the drop table schema_migrations The second migrations start getting uploaded. The drop table schema_migrations will render only after second migrations have been uploaded in Workaround

How can I use the migrations accurately for clickhouse db and are you sure that your utility works with clickhouse db? Does it support mergetree replication?