Sha256: f6793931b4d4ad9a8afb7de37183804696f5055c8d94b516b60de5bee38a169f

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

class AddPagePartsToPwbWebsites < ActiveRecord::Migration[5.1]
  def change
    # add_column :pwb_page_contents, :pwb_website, :belongs_to, index: true
    add_reference :pwb_page_contents, :website, index: true
    # add_foreign_key :pwb_page_contents, :pwb_websites
      # t.belongs_to :page, index: true


    # TODO - add favicon image (and logo image directly)
    # as well as details hash for storing pages..

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pwb-1.4.0 db/migrate/20180119105254_add_page_parts_to_pwb_websites.rb