5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-17 03:50:48 +00:00
panel/db/migrate/20211022224008_add_site_to_stats.rb
2022-04-23 15:06:55 -03:00

9 lines
229 B
Ruby

# 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