You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/db/migrate/20200212072045_add_columns_...

9 lines
277 B

5 years ago
class AddColumnsToLiveLinks < ActiveRecord::Migration[5.2]
def change
add_column :live_links, :course_name, :string
add_column :live_links, :platform, :string
add_column :live_links, :live_time, :datetime
add_column :live_links, :duration, :integer
end
end