pragaashp/hermione-app

View on GitHub
db/migrate/20160402192421_create_requests.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateRequests < ActiveRecord::Migration
  def change
    create_table :requests do |t|
      t.text :comments
      t.integer :status, default: 0
      t.string :format
      t.belongs_to :course, index: true
      t.timestamps null: false
    end
  end
end