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-4.1.3 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.7.4 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.1.2 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.7.3 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.7.2 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.7.1 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.7 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.6 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.1.1 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.3.4 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.3.3 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.3.2 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.3.1 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.4.3.0 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.3.2.6 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.1.0 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.3.2.5 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.0.11 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.3.2.4 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.3.2.3 test/dummy/db/migrate/20110623120047_create_posts.rb