Sha256: d0b2b0e93145328c5cd10bb10addbfc8c27581096eb2f48ea546745090972c40

Contents?: true

Size: 246 Bytes

Versions: 21

Compression:

Stored size: 246 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 null: false
    end
  end

  def self.down
    drop_table :posts
  end
end

Version data entries

21 entries across 21 versions & 5 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/ckeditor-4.3.0/test/dummy/db/migrate/20110623120047_create_posts.rb
danabr75-ckeditor-4.1.6 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.11.1 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.3.0 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.7.3.1 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.7.3 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.2.4 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.2.3 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.6.0 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.2.2 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.2.1 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.5.10.3 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.5.10.2 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.5.10.1 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.2.0 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.5.7.1 test/dummy/db/migrate/20110623120047_create_posts.rb
glebtv-ckeditor-4.5.7 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor_custom_controller-4.1.6 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.1.6 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-4.1.5 test/dummy/db/migrate/20110623120047_create_posts.rb