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