# frozen_string_literal: true class AddCreatedByToUsers < ActiveRecord::Migration[6.1] def change add_belongs_to :users, :created_by, index: true end end