Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
#5 <@CristianFerreira, @marlonfurtado> - alterar valor do campo notif…
Browse files Browse the repository at this point in the history
…ication
  • Loading branch information
marlonfurtado committed Nov 23, 2016
1 parent 1388ecd commit abedf04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class ChangeNotificationFromUserBloodDonator < ActiveRecord::Migration[5.0]
def change
change_column_default :user_blood_donators, :notification, false
change_column_default :user_blood_donators, :notification, true
end
end
4 changes: 2 additions & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20161121155931) do
ActiveRecord::Schema.define(version: 20161123133252) do

create_table "active_admin_comments", force: :cascade do |t|
t.string "namespace"
Expand Down Expand Up @@ -111,7 +111,7 @@
t.date "date_birth"
t.string "phone"
t.string "cpf"
t.boolean "notification", default: false
t.boolean "notification", default: true
t.string "genre"
t.string "blood_type"
t.boolean "admin", default: false
Expand Down

0 comments on commit abedf04

Please sign in to comment.