Wednesday, July 15, 2026 2:56:53 AM
> 20260504034841_communities_owner_id.rb
# frozen_string_literal: true

class CommunitiesOwnerId < ActiveRecord::Migration[8.1]
  def change
    change_table(:communities) do |t|
      t.belongs_to :owner_user, foreign_key: {to_table: :users}, index: true
    end
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7