logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

status_pin.rb (425B)


  1. # frozen_string_literal: true
  2. # == Schema Information
  3. #
  4. # Table name: status_pins
  5. #
  6. # id :integer not null, primary key
  7. # account_id :integer not null
  8. # status_id :integer not null
  9. # created_at :datetime not null
  10. # updated_at :datetime not null
  11. #
  12. class StatusPin < ApplicationRecord
  13. belongs_to :account
  14. belongs_to :status
  15. validates_with StatusPinValidator
  16. end