remove email_notifications_enabled column because of the new daily_email_notifications_enabled
This commit is contained in:
parent
4934a6359b
commit
4a70a7fcc8
9 changed files with 14 additions and 16 deletions
|
@ -0,0 +1,5 @@
|
|||
class RemoveEmailNotificationsEnabledFromAssignTos < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_column :assign_tos, :email_notifications_enabled
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2020_02_18_144724) do
|
||||
ActiveRecord::Schema.define(version: 2020_02_27_100001) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -100,7 +100,6 @@ ActiveRecord::Schema.define(version: 2020_02_18_144724) do
|
|||
t.integer "procedure_id"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.boolean "email_notifications_enabled", default: false, null: false
|
||||
t.bigint "groupe_instructeur_id"
|
||||
t.boolean "weekly_email_notifications_enabled", default: true, null: false
|
||||
t.boolean "daily_email_notifications_enabled", default: false, null: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue