5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-01 08:06:08 +00:00
panel/db/migrate/20211022224008_add_site_to_stats.rb

9 lines
229 B
Ruby
Raw Normal View History

2022-04-23 18:06:55 +00:00
# frozen_string_literal: true
# La recolección de estadísticas podría pertenecer a un sitio
class AddSiteToStats < ActiveRecord::Migration[6.1]
def change
add_belongs_to :stats, :site, index: true, null: true
end
end