dawarich/db/migrate/20240525110244_add_user_id_to_points.rb
2024-05-25 13:26:56 +02:00

7 lines
161 B
Ruby

# frozen_string_literal: true
class AddUserIdToPoints < ActiveRecord::Migration[7.1]
def change
add_reference :points, :user, foreign_key: true
end
end