about summary refs log tree commit diff
path: root/app/models/domain_block.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-07-13 03:12:25 +0200
committerGitHub <noreply@github.com>2017-07-13 03:12:25 +0200
commit880a5eb25cc62d2181b34a21985addee847cbb49 (patch)
treeca0b37ff4b1be7606ed1bf3ad7c6bebb8cb68cce /app/models/domain_block.rb
parente48d3bfd01c4bdeb36d39bbdf13b6873e3444179 (diff)
Fix boolean columns sometimes having a null value (#4162)
* Fix boolean columns sometimes having a null value

* Fix wrong value being set instead of null
Diffstat (limited to 'app/models/domain_block.rb')
-rw-r--r--app/models/domain_block.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/domain_block.rb b/app/models/domain_block.rb
index 99dae9c1d..f26e8183f 100644
--- a/app/models/domain_block.rb
+++ b/app/models/domain_block.rb
@@ -8,7 +8,7 @@
 #  created_at   :datetime         not null
 #  updated_at   :datetime         not null
 #  severity     :integer          default("silence")
-#  reject_media :boolean
+#  reject_media :boolean          default(FALSE), not null
 #
 
 class DomainBlock < ApplicationRecord