theseus/test/fixtures/public/api_keys.yml
2025-05-31 23:25:41 -04:00

33 lines
816 B
YAML

# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
# == Schema Information
#
# Table name: public_api_keys
#
# id :bigint not null, primary key
# name :string
# revoked_at :datetime
# token_bidx :string
# token_ciphertext :string
# created_at :datetime not null
# updated_at :datetime not null
# public_user_id :bigint not null
#
# Indexes
#
# index_public_api_keys_on_public_user_id (public_user_id)
# index_public_api_keys_on_token_bidx (token_bidx) UNIQUE
#
# Foreign Keys
#
# fk_rails_... (public_user_id => public_users.id)
#
one:
user: one
token: MyString
revoked_at: 2025-05-20 14:00:56
two:
user: two
token: MyString
revoked_at: 2025-05-20 14:00:56