2019-01-18 15:56:55 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: tombstones
|
|
|
|
#
|
2019-05-09 22:03:03 +02:00
|
|
|
# id :bigint(8) not null, primary key
|
2024-12-17 14:38:18 +01:00
|
|
|
# by_moderator :boolean
|
2019-05-09 22:03:03 +02:00
|
|
|
# uri :string not null
|
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2024-12-17 14:38:18 +01:00
|
|
|
# account_id :bigint(8) not null
|
2019-01-18 15:56:55 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
class Tombstone < ApplicationRecord
|
2019-01-18 23:52:09 +01:00
|
|
|
belongs_to :account
|
2024-10-31 14:27:47 +01:00
|
|
|
|
|
|
|
validates :uri, presence: true
|
2019-01-18 15:56:55 +01:00
|
|
|
end
|