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.
9 lines
300 B
9 lines
300 B
5 years ago
|
class AddLinkToCourseVideos < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
add_column :course_videos, :is_link, :boolean, default: 0
|
||
|
add_column :course_videos, :title, :string
|
||
|
add_column :course_videos, :link, :string
|
||
|
add_column :course_videos, :user_id, :integer, index: true
|
||
|
end
|
||
|
end
|