Sha256: eaf03484e10b3cbfacefc126d1ca6b73e902f9ae1348ffd002669f6948559256

Contents?: true

Size: 203 Bytes

Versions: 6

Compression:

Stored size: 203 Bytes

Contents

class AddTemplatableFieldsToPages < ActiveRecord::Migration
  def change
    add_column :kms_pages, :templatable, :boolean, default: false
    add_column :kms_pages, :templatable_type, :string
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kms-0.7.0 db/migrate/20141127073902_add_templatable_fields_to_pages.rb
kms-0.6.0 db/migrate/20141127073902_add_templatable_fields_to_pages.rb
kms-0.5.0 db/migrate/20141127073902_add_templatable_fields_to_pages.rb
kms-0.4.2 db/migrate/20141127073902_add_templatable_fields_to_pages.rb
kms-0.4.1 db/migrate/20141127073902_add_templatable_fields_to_pages.rb
kms-0.4.0 db/migrate/20141127073902_add_templatable_fields_to_pages.rb