chatwoot-develop/spec/factories/notes.rb

29 lines
627 B
Ruby
Executable File

# frozen_string_literal: true
# == Schema Information
#
# Table name: notes
#
# id :bigint not null, primary key
# content :text not null
# created_at :datetime not null
# updated_at :datetime not null
# account_id :bigint not null
# contact_id :bigint not null
# user_id :bigint
#
# Indexes
#
# index_notes_on_account_id (account_id)
# index_notes_on_contact_id (contact_id)
# index_notes_on_user_id (user_id)
#
FactoryBot.define do
factory :note do
content { 'Hey welcome to chatwoot' }
account
user
contact
end
end