andela/eventx

View on GitHub
db/migrate/20150714135609_create_users.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.integer :role, default: 0
      t.string :first_name
      t.string :last_name
      t.string :email
      t.string :profile_url
      t.string :provider
      t.string :uid

      t.timestamps null: false
    end
  end
end