dawarich/db/migrate/20240525110244_add_user_id_to_points.rb

8 lines
161 B
Ruby
Raw Permalink Normal View History

2024-05-25 07:26:56 -04:00
# frozen_string_literal: true
class AddUserIdToPoints < ActiveRecord::Migration[7.1]
def change
add_reference :points, :user, foreign_key: true
end
end