diff --git a/db/migrate/20161110155928_change_notification_from_user_blood_donator.rb b/db/migrate/20161123133252_change_notification_from_user_blood_donator.rb similarity index 58% rename from db/migrate/20161110155928_change_notification_from_user_blood_donator.rb rename to db/migrate/20161123133252_change_notification_from_user_blood_donator.rb index 4830fef..b29f481 100644 --- a/db/migrate/20161110155928_change_notification_from_user_blood_donator.rb +++ b/db/migrate/20161123133252_change_notification_from_user_blood_donator.rb @@ -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 diff --git a/db/schema.rb b/db/schema.rb index 7e66c5e..9f3088f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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" @@ -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