12 lines
369 B
Ruby
12 lines
369 B
Ruby
class AddPodcastOptionsToDiscussionTopics < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :discussion_topics, :podcast_enabled, :boolean
|
|
add_column :discussion_topics, :podcast_has_student_posts, :boolean
|
|
end
|
|
|
|
def self.down
|
|
remove_column :discussion_topics, :podcast_enabled
|
|
remove_column :discussion_topics, :podcast_has_student_posts
|
|
end
|
|
end
|