Manipulating the schema migrations table with active record
Dienstag, 19. Mai 2020, 10:57 Uhr | roberto@vasquez-angel.de |class SchemaMigration < ActiveRecord::Base; self.primary_key = :version; end
SchemaMigration.where(version: "20200514202233").first
SchemaMigration.where(version: "20200514202233").update_all(version: "20200514142149")