Add role to ExternalUser and update it via LTI

This commit is contained in:
Sebastian Serth
2018-11-22 18:45:31 +01:00
parent 4fd128b31b
commit 71fd3b9b07
3 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddRoleToExternalUsers < ActiveRecord::Migration[5.2]
def change
add_column :external_users, :role, :string, default: 'learner', null: false
end
end