Sha256: 7b69ec0809f9d4ec515098aa8265e9e5d8ed570a2d4dec7b65c1edcd396d70a3

Contents?: true

Size: 225 Bytes

Versions: 9

Compression:

Stored size: 225 Bytes

Contents

class AddPageClassNameToTemplates < ActiveRecord::Migration
  def self.up
    add_column :templates, :page_class_name, :string, :default => nil
  end
  
  def self.down
    remove_column :templates, :page_class_name
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
radiant-templates-extension-1.0.8 db/migrate/007_add_page_class_name_to_templates.rb
radiant-templates-extension-1.0.7 db/migrate/007_add_page_class_name_to_templates.rb
radiant-templates-extension-1.0.6 db/migrate/007_add_page_class_name_to_templates.rb
radiant-templates-extension-1.0.5 db/migrate/007_add_page_class_name_to_templates.rb
radiant-templates-extension-1.0.4 db/migrate/007_add_page_class_name_to_templates.rb
radiant-templates-extension-1.0.3 db/migrate/007_add_page_class_name_to_templates.rb
radiant-templates-extension-1.0.2 db/migrate/007_add_page_class_name_to_templates.rb
radiant-templates-extension-1.0.1 db/migrate/007_add_page_class_name_to_templates.rb
radiant-templates-extension-1.0.0 db/migrate/007_add_page_class_name_to_templates.rb