Rename user to contributor in submission
This commit is contained in:

committed by
Sebastian Serth

parent
97138288f4
commit
0234414bae
@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RenameUserColumnsToContributorInSubmissions < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
change_table :submissions do |t|
|
||||
t.rename :user_id, :contributor_id
|
||||
t.rename :user_type, :contributor_type
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user