[Rails7] Rollback throws an error
encodedrose opened this issue · comments
Executing the rails db:rollback:clickhouse
on the latest rails7 branch results in the following error:
NameError: undefined local variable or method `final' for #<ClickhouseActiverecord::SchemaMigration:0x0000000107150420`
final.where(active: 1).order(:version).pluck(:version)
^^^^^
Tasks: TOP => db:rollback:clickhouse
(See full trace by running task with --trace)
I wasn't sure if this issue was something on my end or an issue in the library.
fixed in v1.0.0