mastodon/app/models/account_secret.rb

18 lines
384 B
Ruby

# frozen_string_literal: true
# == Schema Information
#
# Table name: account_secrets
#
# id :bigint(8) not null, primary key
# private_key :text
# created_at :datetime not null
# updated_at :datetime not null
# account_id :bigint(8) not null
#
class AccountSecret < ApplicationRecord
belongs_to :account
encrypts :private_key
end