class
ActiveRecord::SchemaMigration
v7.0.0 -
Show latest stable
- Superclass: ActiveRecord::Base
This class is used to create a table that keeps track of which migrations have been applied to a given database. When a migration is run, its schema number is inserted in to the `SchemaMigration.table_name` so it doesn’t need to be executed the next time.
Files
- activerecord/lib/active_record/schema_migration.rb