Skip to content

Commit

Permalink
fix migrate task
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny.pan committed Sep 12, 2024
1 parent 50134b0 commit 3569318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/clickhouse.rake
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ namespace :ch do
desc "Run migrations for the ClickHouse database"
task migrate: :environment do
path = "db/migrate/clickhouse/*.rb"
migrations_table = "clickhouse_migrations"
migrations_sources_table = "clickhouse_migrations_sources"
migrations_table = :clickhouse_migrations
migrations_sources_table = :clickhouse_migrations_sources
use_transactions = "false"

Rake::Task["sequel:archive_migrations"].invoke(path, migrations_sources_table)
Expand Down

0 comments on commit 3569318

Please sign in to comment.