Sha256: be20f3279e112090a7e03c1151fc2e0c57700b5780be595ff34d15f2587a8b6f

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

class BigbluebuttonRailsTo220 < ActiveRecord::Migration
  def self.up
    remove_column :bigbluebutton_meetings, :server_id
    remove_index :bigbluebutton_rooms, :server_id
    remove_column :bigbluebutton_rooms, :server_id
  end

  def self.down
    add_column :bigbluebutton_meetings, :server_id, :integer
    add_column :bigbluebutton_rooms, :server_id, :integer
    add_index :bigbluebutton_rooms, :server_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 lib/generators/bigbluebutton_rails/templates/migration_2_2_0.rb
bigbluebutton_rails-2.3.0 lib/generators/bigbluebutton_rails/templates/migration_2_2_0.rb