add assessement endpoint

This commit is contained in:
2023-09-21 14:00:00 -03:00
parent 0e21b13035
commit 1edd26bf1b
7 changed files with 124 additions and 8 deletions

View File

@@ -0,0 +1,28 @@
# == Schema Information
#
# Table name: assessments
#
# id :bigint not null, primary key
# observations :text
# params :jsonb
# title :string
# created_at :datetime not null
# updated_at :datetime not null
# user_id :bigint not null
#
# Indexes
#
# index_assessments_on_user_id (user_id)
#
# Foreign Keys
#
# fk_rails_... (user_id => users.id)
#
FactoryBot.define do
factory :assessment do
title { "MyString" }
observations { "MyText" }
params { "" }
user { nil }
end
end