about summary refs log tree commit diff
path: root/app/models/setting.rb
diff options
context:
space:
mode:
authorDaniel Hunsaker <danhunsaker@gmail.com>2017-11-12 08:18:50 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-11-12 16:18:50 +0100
commitcf7e8409909e1ea02dff9056133449d6cbd34d72 (patch)
treed8d77285d0c5413d8b6fa3c9fc30518c2f96c6ac /app/models/setting.rb
parent252d0fe020c919bf53a42a96bffbfd342563250a (diff)
Update model annotations to use BIGINT for IDs (#5461)
All the migrations have been updated to use BIGINTs for ID fields in the DB, but ActiveRecord needs to be told to treat those values as BIGINT as well. This PR does that.
Diffstat (limited to 'app/models/setting.rb')
-rw-r--r--app/models/setting.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/setting.rb b/app/models/setting.rb
index a14f156a1..be68d3123 100644
--- a/app/models/setting.rb
+++ b/app/models/setting.rb
@@ -8,8 +8,8 @@
 #  thing_type :string
 #  created_at :datetime
 #  updated_at :datetime
-#  id         :integer          not null, primary key
-#  thing_id   :integer
+#  id         :bigint           not null, primary key
+#  thing_id   :bigint
 #
 
 class Setting < RailsSettings::Base