Files
codeocean/db/migrate/20170112151637_create_lti_parameters.rb
2021-05-14 22:03:06 +02:00

14 lines
329 B
Ruby

# frozen_string_literal: true
class CreateLtiParameters < ActiveRecord::Migration[4.2]
def change
create_table :lti_parameters do |t|
t.belongs_to :external_users
t.belongs_to :consumers
t.belongs_to :exercises
t.jsonb :lti_parameters, null: false, default: {}
t.timestamps
end
end
end