nesquena/rabl

View on GitHub
fixtures/rails6/db/migrate/20111002092019_create_posts.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreatePosts < ActiveRecord::Migration[6.0]
  def change
    create_table :posts do |t|
      t.integer :user_id
      t.string  :title
      t.text    :body
      t.timestamps
    end
  end
end