class CreateSessions

Public Instance Methods

change() click to toggle source
# File lib/nexmo_developer/db/migrate/20170413154510_create_sessions.rb, line 2
def change
  create_table :sessions, id: :uuid do |t|
    t.string :title
    t.text :description
    t.string :author
    t.uuid :event_id
    t.string :video_url

    t.timestamps
  end
end