Sha256: ad093b2865e167121e03a95bbe52a3d9f7f1bb8875300f6eaf8ae83c5e952a85

Contents?: true

Size: 211 Bytes

Versions: 7

Compression:

Stored size: 211 Bytes

Contents

class AddTemplateIdToPages < ActiveRecord::Migration[4.2]
  def change
    add_column :kms_pages, :template_id, :integer
    add_foreign_key :kms_pages, :kms_templates if respond_to?(:add_foreign_key)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kms-1.2.1 db/migrate/20141027083633_add_template_id_to_pages.rb
kms-1.2.0 db/migrate/20141027083633_add_template_id_to_pages.rb
kms-1.1.0 db/migrate/20141027083633_add_template_id_to_pages.rb
kms-1.0.1 db/migrate/20141027083633_add_template_id_to_pages.rb
kms-1.0.0 db/migrate/20141027083633_add_template_id_to_pages.rb
kms-0.9.0 db/migrate/20141027083633_add_template_id_to_pages.rb
kms-0.8.0 db/migrate/20141027083633_add_template_id_to_pages.rb