Add unsubscribe field for admin emails

This will completely unsubscribe you from any admin emails
parent 831b0e3d
class AddUnsubscribedAtFieldToUsers < ActiveRecord::Migration
def change
add_column :users, :admin_email_unsubscribed_at, :datetime
end
end
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140611135229) do
ActiveRecord::Schema.define(version: 20140811083829) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
......@@ -366,6 +366,7 @@ ActiveRecord::Schema.define(version: 20140611135229) do
t.string "unconfirmed_email"
t.boolean "hide_no_ssh_key", default: false
t.string "website_url", default: "", null: false
t.datetime "admin_email_unsubscribed_at"
end
add_index "users", ["admin"], name: "index_users_on_admin", using: :btree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment