lib/chrono_model/adapter.rb in chrono_model-2.0.0 vs lib/chrono_model/adapter.rb in chrono_model-3.0.1
- old
+ new
@@ -1,15 +1,10 @@
# frozen_string_literal: true
require 'active_record/connection_adapters/postgresql_adapter'
require 'chrono_model/adapter/migrations'
-
-if ActiveRecord::VERSION::STRING >= '6.1'
- require 'chrono_model/adapter/migrations_modules/stable'
-else
- require 'chrono_model/adapter/migrations_modules/legacy'
-end
+require 'chrono_model/adapter/migrations_modules/stable'
require 'chrono_model/adapter/ddl'
require 'chrono_model/adapter/indexes'
require 'chrono_model/adapter/tsrange'
require 'chrono_model/adapter/upgrade'