Sha256: a1d62fb815999428d9c9fa38d7cd8ab4b10c0ab123a0bf2cfab8af037195e0de

Contents?: true

Size: 500 Bytes

Versions: 7

Compression:

Stored size: 500 Bytes

Contents

class CreateTandemPages < ActiveRecord::Migration
  def change
    create_table :tandem_pages do |t|
      t.integer :parent_id
      t.string :title
      t.string :page_label
      t.string :link_label, :null => false
      t.string :layout
      t.string :template
      t.string :keywords
      t.string :description
      t.string :slug, :null => false
      t.boolean :is_default, :default => false, :null => false

      t.timestamps
    end

    add_index :tandem_pages, :parent_id
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tandem-0.2.5 db/migrate/20111122221549_create_tandem_pages.rb
tandem-0.2.4 db/migrate/20111122221549_create_tandem_pages.rb
tandem-0.2.3 db/migrate/20111122221549_create_tandem_pages.rb
tandem-0.2.2 db/migrate/20111122221549_create_tandem_pages.rb
tandem-0.2.1 db/migrate/20111122221549_create_tandem_pages.rb
tandem-0.2.0 db/migrate/20111122221549_create_tandem_pages.rb
tandem-0.2.0.rc db/migrate/20111122221549_create_tandem_pages.rb