Sha256: 30101428219bb5c0d29829ad55f2fbe9bfaef28b53b336e5a449bb504d018d2e

Contents?: true

Size: 529 Bytes

Versions: 10

Compression:

Stored size: 529 Bytes

Contents

class CreateGeorgiaPages < ActiveRecord::Migration

  def change
    create_table :georgia_pages do |t|
      t.string    :type
      t.string    :slug
      t.string    :url
      t.integer   :position
      t.integer   :parent_id
      t.integer   :revision_id
      t.string    :ancestry
      t.boolean   :public, default: false
      t.timestamps
    end
    add_index :georgia_pages, :url
    add_index :georgia_pages, :parent_id
    add_index :georgia_pages, :revision_id
    add_index :georgia_pages, :ancestry
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
georgia-0.8.0 db/migrate/006_create_georgia_pages.rb
georgia-0.7.8 db/migrate/006_create_georgia_pages.rb
georgia-0.7.7 db/migrate/006_create_georgia_pages.rb
georgia-0.7.6 db/migrate/006_create_georgia_pages.rb
georgia-0.7.5 db/migrate/006_create_georgia_pages.rb
georgia-0.7.4 db/migrate/006_create_georgia_pages.rb
georgia-0.7.3 db/migrate/006_create_georgia_pages.rb
georgia-0.7.2 db/migrate/006_create_georgia_pages.rb
georgia-0.7.1 db/migrate/006_create_georgia_pages.rb
georgia-0.7.0 db/migrate/006_create_georgia_pages.rb