MattZhao/AtRisk

View on GitHub
db/migrate/20161020234005_create_news.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateNews < ActiveRecord::Migration
  def change
    create_table :news do |t|
      t.string :title
      t.string :content

      t.timestamps null: false
    end
  end
end