0
0
Fork 0

Allow multiple pinned statuses to be shown and make them be ordered b… (#4690)

* Allow multiple pinned statuses to be shown and make them be ordered by pinned date

* Set timestamps NOT NULL

* Make single-line pinned_statuses

* Spec for pinned_statuses

* Remove redundant empty line
This commit is contained in:
nullkal 2017-08-26 01:50:52 +09:00 committed by Eugen Rochko
parent fb8aa2b3ba
commit c2af138113
6 changed files with 27 additions and 3 deletions

View file

@ -6,6 +6,8 @@
# id :integer not null, primary key
# account_id :integer not null
# status_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
#
class StatusPin < ApplicationRecord