about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/domain_allow.rb2
-rw-r--r--app/models/status.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/domain_allow.rb b/app/models/domain_allow.rb
index 8bd647519..70f559f49 100644
--- a/app/models/domain_allow.rb
+++ b/app/models/domain_allow.rb
@@ -8,7 +8,7 @@
 #  domain     :string           default(""), not null
 #  created_at :datetime         not null
 #  updated_at :datetime         not null
-#  hidden     :boolean          default(FALSE)
+#  hidden     :boolean          default(FALSE), not null
 #
 
 class DomainAllow < ApplicationRecord
diff --git a/app/models/status.rb b/app/models/status.rb
index 1a5197e88..731bb6eee 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -25,7 +25,7 @@
 #  poll_id                :bigint(8)
 #  content_type           :string
 #  deleted_at             :datetime
-#  edited                 :integer          default(0)
+#  edited                 :integer          default(0), not null
 #
 
 class Status < ApplicationRecord