0
0
Fork 0

Change columns in notifications nonnullable (#6764)

This commit is contained in:
Akihiko Odaki 2018-03-24 20:51:28 +09:00 committed by Eugen Rochko
parent fa310695fa
commit b2a4ffd3a9
5 changed files with 23 additions and 17 deletions

View file

@ -4,12 +4,12 @@
# Table name: notifications
#
# id :integer not null, primary key
# activity_id :integer
# activity_type :string
# activity_id :integer not null
# activity_type :string not null
# created_at :datetime not null
# updated_at :datetime not null
# account_id :integer
# from_account_id :integer
# account_id :integer not null
# from_account_id :integer not null
#
class Notification < ApplicationRecord