Sha256: e5c8a784a0ba012e514ffa47a7b9f09ce782c5815e12d9e013f431fdd154f136

Contents?: true

Size: 203 Bytes

Versions: 5

Compression:

Stored size: 203 Bytes

Contents

class CreatePages < ActiveRecord::Migration
  def self.up
    create_table :pages do |t|
      t.integer :author_id
      t.text :content
    end
  end
  
  def self.down
    drop_table :pages
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
pluginaweek-polymorphic_identity-0.1.0 test/app_root/db/migrate/003_create_pages.rb
polymorphic_identity-0.1.1 test/app_root/db/migrate/003_create_pages.rb
polymorphic_identity-0.0.5 test/app_root/db/migrate/003_create_pages.rb
polymorphic_identity-0.1.0 test/app_root/db/migrate/003_create_pages.rb
polymorphic_identity-0.0.4 test/app_root/db/migrate/003_create_pages.rb