Sha256: 103b3982783d9fd2d14002d416a30336ef947a3852cd6c8000dfa38a8a95dda3

Contents?: true

Size: 279 Bytes

Versions: 10

Compression:

Stored size: 279 Bytes

Contents

class BigbluebuttonRailsTo130B < ActiveRecord::Migration

  def self.up
    # Generate a meetingID for every room
    BigbluebuttonRoom.all.each do |room|
      room.update_attributes(:meetingid => room.unique_meetingid)
    end
  end

  def self.down
    # Can't undo
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-2.3.0 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-2.2.0 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-2.1.0 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-2.0.0 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-1.3.0.mweb1 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-1.4.0 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-1.4.0.beta1 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-1.3.0 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
bigbluebutton_rails-1.3.0.beta1 lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb