You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
425 B

  1. # frozen_string_literal: true
  2. # == Schema Information
  3. #
  4. # Table name: status_pins
  5. #
  6. # id :bigint(8) not null, primary key
  7. # account_id :bigint(8) not null
  8. # status_id :bigint(8) 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