class AddOrganisationIdOnLocationNetworkLevel < ActiveRecord::Migration
  def change
    add_column :network_ssids, :organisation_id, :integer unless column_exists?(:network_ssids, :organisation_id)
    add_column :wired_configs, :organisation_id, :integer unless column_exists?(:wired_configs, :organisation_id)
    add_column :v_lans, :organisation_id, :integer unless column_exists?(:v_lans, :organisation_id)
    add_column :radio_profiles, :organisation_id, :integer unless column_exists?(:radio_profiles, :organisation_id)
  end
end
