sutty/db/migrate/20190716202024_add_design_to_sites.rb

9 lines
187 B
Ruby
Raw Permalink Normal View History

2019-07-17 22:18:48 +00:00
# frozen_string_literal: true
# Los sitios tienen un diseño
class AddDesignToSites < ActiveRecord::Migration[5.2]
def change
add_belongs_to :sites, :design, index: true
end
end