Class: BigbluebuttonRailsTo130B
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- BigbluebuttonRailsTo130B
- Defined in:
- lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
10 11 12 |
# File 'lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb', line 10 def self.down # Can't undo end |
.up ⇒ Object
3 4 5 6 7 8 |
# File 'lib/generators/bigbluebutton_rails/templates/migration_1_3_0_b.rb', line 3 def self.up # Generate a meetingID for every room BigbluebuttonRoom.all.each do |room| room.update_attributes(:meetingid => room.unique_meetingid) end end |