Rename user to contributor in submission

This commit is contained in:
kiragrammel
2023-08-11 12:15:36 +02:00
committed by Sebastian Serth
parent 97138288f4
commit 0234414bae
39 changed files with 267 additions and 233 deletions

View File

@ -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