Sha256: 755753f5c2291a7768c43f8adc32c13f6946570553050de6df3a1fccdc9855bc

Contents?: true

Size: 1.01 KB

Versions: 17

Compression:

Stored size: 1.01 KB

Contents

class BigbluebuttonRailsTo004 < ActiveRecord::Migration

  def self.up
    create_table :bigbluebutton_servers do |t|
      t.string :name
      t.string :url
      t.string :salt
      t.string :version
      t.timestamps
    end
    create_table :bigbluebutton_rooms do |t|
      t.integer :server_id
      t.integer :owner_id
      t.string :owner_type
      t.string :meetingid
      t.string :name
      t.string :attendee_password
      t.string :moderator_password
      t.string :welcome_msg
      t.string :logout_url
      t.string :voice_bridge
      t.string :dial_number
      t.integer :max_participants
      t.boolean :private, :default => false
      t.boolean :randomize_meetingid, :default => true
      t.timestamps
    end
    add_index :bigbluebutton_rooms, :server_id
    add_index :bigbluebutton_rooms, :meetingid, :unique => true
    add_index :bigbluebutton_rooms, :voice_bridge, :unique => true
  end

  def self.down
    drop_table :bigbluebutton_rooms
    drop_table :bigbluebutton_servers
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-2.3.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-2.2.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-2.1.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-2.0.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-1.3.0.mweb1 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-1.4.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-1.4.0.beta1 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-1.3.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-1.3.0.beta1 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-1.2.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-1.1.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-1.0.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-0.1.1 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-0.1.0 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-0.0.6 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb
bigbluebutton_rails-0.0.5 lib/generators/bigbluebutton_rails/templates/migration_0_0_4.rb