Sha256: af45c607df8ed464c1771f73ee441a4d4c1912f326481272188a8785903b82e2

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

class CreateDynamicViews < ActiveRecord::Migration
  def self.up
    create_versioned_table :dynamic_views do |t|
      t.string :type
      t.string :name
      t.string :format
      t.string :handler
      t.text :body

      t.timestamps
    end
  end

  def self.down
    drop_versioned_table :page_templates
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nate-browsercms-3.0.210 db/migrate/20080815014733_create_dynamic_views.rb
nate-browsercms-3.0.211 db/migrate/20080815014733_create_dynamic_views.rb