mastodon/app/models/tombstone.rb

19 lines
436 B
Ruby

# frozen_string_literal: true
# == Schema Information
#
# Table name: tombstones
#
# id :bigint(8) not null, primary key
# by_moderator :boolean
# uri :string not null
# created_at :datetime not null
# updated_at :datetime not null
# account_id :bigint(8) not null
#
class Tombstone < ApplicationRecord
belongs_to :account
validates :uri, presence: true
end