tombstone.rb 420 B

12345678910111213141516171819
  1. # frozen_string_literal: true
  2. # == Schema Information
  3. #
  4. # Table name: tombstones
  5. #
  6. # id :bigint(8) not null, primary key
  7. # account_id :bigint(8)
  8. # uri :string not null
  9. # created_at :datetime not null
  10. # updated_at :datetime not null
  11. # by_moderator :boolean
  12. #
  13. class Tombstone < ApplicationRecord
  14. belongs_to :account
  15. validates :uri, presence: true
  16. end