3c01f98a0b
Closes #313
5 lines
150 B
Ruby
5 lines
150 B
Ruby
class AddInvitedByToUser < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_reference(:users, :inviter, foreign_key: { to_table: :users })
|
|
end
|
|
end
|