diff options
author | Daniel Hunsaker <danhunsaker@gmail.com> | 2017-11-12 08:18:50 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-11-12 16:18:50 +0100 |
commit | cf7e8409909e1ea02dff9056133449d6cbd34d72 (patch) | |
tree | d8d77285d0c5413d8b6fa3c9fc30518c2f96c6ac /app/models/notification.rb | |
parent | 252d0fe020c919bf53a42a96bffbfd342563250a (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/notification.rb')
-rw-r--r-- | app/models/notification.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/notification.rb b/app/models/notification.rb index 0a5d987cf..c88af9021 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -3,13 +3,13 @@ # # Table name: notifications # -# id :integer not null, primary key -# account_id :integer -# activity_id :integer +# id :bigint not null, primary key +# account_id :bigint +# activity_id :bigint # activity_type :string # created_at :datetime not null # updated_at :datetime not null -# from_account_id :integer +# from_account_id :bigint # class Notification < ApplicationRecord |