Files
old-holivud2/db/migrate/20180803012622_create_bookmarks.rb
2020-05-31 22:38:19 +02:00

11 lines
213 B
Ruby

class CreateBookmarks < ActiveRecord::Migration[5.2]
def change
create_table :bookmarks do |t|
t.belongs_to :video, foreign_key: true
t.string :time_elapsed
t.timestamps
end
end
end