Flowdock
record_version_state_after_migrating(version) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 478
      def record_version_state_after_migrating(version)
        sm_table = self.class.schema_migrations_table_name

        if down?
          Base.connection.update("DELETE FROM #{sm_table} WHERE version = '#{version}'")
        else
          Base.connection.insert("INSERT INTO #{sm_table} (version) VALUES ('#{version}')")
        end
      end
Register or log in to add new notes.