chore: add annotations to factories and models specs

This commit is contained in:
Adam Cooke
2024-02-23 22:51:35 +00:00
parent 8765d8e57a
commit ed6da11b65
10 changed files with 211 additions and 0 deletions
+20
View File
@@ -1,5 +1,25 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: webhooks
#
# id :integer not null, primary key
# all_events :boolean default(FALSE)
# enabled :boolean default(TRUE)
# last_used_at :datetime
# name :string(255)
# sign :boolean default(TRUE)
# url :string(255)
# uuid :string(255)
# created_at :datetime
# updated_at :datetime
# server_id :integer
#
# Indexes
#
# index_webhooks_on_server_id (server_id)
#
FactoryBot.define do
factory :webhook do
server