Sha256: fac8ba50b9b931e5319123380d860ae43a1b90604afbe07859eab11c0afff0fc

Contents?: true

Size: 193 Bytes

Versions: 15

Compression:

Stored size: 193 Bytes

Contents

class CreatePages < ActiveRecord::Migration
  def self.up
    create_table :pages do |t|
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :pages
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
navi-0.2.1 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.2.0 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.1.4 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.1.3 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.17 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.16 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.15 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.14 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.13 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.12 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.11 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.10 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.9 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.6 spec/dummy/db/migrate/20110607160052_create_pages.rb
navi-0.0.2 spec/dummy/db/migrate/20110607160052_create_pages.rb