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.
14 lines
303 B
14 lines
303 B
5 years ago
|
class CreateLiveLinks < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :live_links do |t|
|
||
|
t.references :course, index: true
|
||
|
t.references :user, index: true
|
||
|
t.string :url
|
||
|
t.text :description
|
||
|
t.boolean :on_status, default: 0
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|