Sha256: b0dc5770d6e5b5e57b2e34352d9eb81718d2ef447a425747eedfc7e754a570de

Contents?: true

Size: 234 Bytes

Versions: 70

Compression:

Stored size: 234 Bytes

Contents

class CreatePosts < ActiveRecord::Migration
  def self.up
    create_table :posts do |t|
      t.string :title
      t.text :info
      t.text :content
      t.timestamps
    end
  end

  def self.down
    drop_table :posts
  end
end

Version data entries

70 entries across 70 versions & 4 rubygems

Version Path
ckeditor-3.7.1 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.7.0 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.7.0.rc3 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.7.0.rc2 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.7.0.rc1 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.6.3 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.6.2 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.6.1 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.6.0 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-3.6.0.pre test/dummy/db/migrate/20110623120047_create_posts.rb