8 lines
163 B
Ruby
8 lines
163 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddCreatedByToUsers < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_belongs_to :users, :created_by, index: true
|
|
end
|
|
end
|