Sha256: 5e6a5c8f120db8074351adf473438762befcc38acea8918aaf35cb706d7fe2ed

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

class CreatePosts < ActiveRecord::Migration[6.1]
  def up
    create_table :posts do |t|
      t.string :title
      t.text :info
      t.text :content
      t.timestamps null: false
    end
  end

  def down
    drop_table :posts
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ckeditor-5.1.3 test/dummy/db/migrate/20110623120047_create_posts.rb
ckeditor-5.1.2 test/dummy/db/migrate/20110623120047_create_posts.rb