about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-13 12:44:19 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:41:03 -0500
commit29b2f6f320ac7d94448d7e1e58510ce7658b6f3e (patch)
tree50ea1cc997a6e32275e4c3bf0c535c552f8ff3f0 /app/models
parenta4f8ca3e8b614517d904a63da0874245d419e4da (diff)
[Database] Add missing "not null" attribute to Monsterfork columns
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