3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'lib/generators/bigbluebutton_rails/templates/migration_2_0_0.rb', line 3
def self.up
create_table :bigbluebutton_playback_types do |t|
t.string :identifier
t.boolean :visible, default: false
t.boolean :default, default: false
t.timestamps
end
rename_column :bigbluebutton_rooms, :record, :record_meeting
rename_column :bigbluebutton_meetings, :record, :recorded
rename_column :bigbluebutton_rooms, :attendee_password, :attendee_key
rename_column :bigbluebutton_rooms, :moderator_password, :moderator_key
add_column :bigbluebutton_rooms, :moderator_api_password, :string
add_column :bigbluebutton_rooms, :attendee_api_password, :string
add_column :bigbluebutton_rooms, :create_time, :decimal, precision: 14, scale: 0
remove_column :bigbluebutton_playback_formats, :format_type
add_column :bigbluebutton_playback_formats, :playback_type_id, :integer
remove_index :bigbluebutton_rooms, :voice_bridge
create_table :bigbluebutton_server_configs do |t|
t.integer :server_id
t.text :available_layouts
t.timestamps
end
add_column :bigbluebutton_rooms, :moderator_only_message, :string
add_column :bigbluebutton_rooms, :auto_start_recording, :boolean, default: false
add_column :bigbluebutton_rooms, :allow_start_stop_recording, :boolean, default: true
add_column :bigbluebutton_room_options, :background, :string
add_column :bigbluebutton_recordings, :size, :integer, limit: 8, default: 0
end
|