HabitatMap/AirCasting

View on GitHub
db/migrate/20231208104022_remove_columns_from_sessions.rb

Summary

Maintainability
A
0 mins
Test Coverage
class RemoveColumnsFromSessions < ActiveRecord::Migration[6.1]
  def change
    remove_column :sessions, :data_type, :string
    remove_column :sessions, :instrument, :string
    remove_column :sessions, :start_time, :datetime
    remove_column :sessions, :end_time, :datetime
    remove_column :sessions, :measurements_count, :integer
  end
end