0
0
Fork 0

Add uniqueness to block email domains (#5692)

This commit is contained in:
Yamagishi Kazutoshi 2017-11-15 04:37:17 +09:00 committed by Eugen Rochko
parent 8087aa83d4
commit 20150659e6
4 changed files with 35 additions and 6 deletions

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20171109012327) do
ActiveRecord::Schema.define(version: 20171114080328) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -126,9 +126,10 @@ ActiveRecord::Schema.define(version: 20171109012327) do
end
create_table "email_domain_blocks", force: :cascade do |t|
t.string "domain", null: false
t.string "domain", default: "", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["domain"], name: "index_email_domain_blocks_on_domain", unique: true
end
create_table "favourites", force: :cascade do |t|