25 lines
578 B
Ruby
Executable File
25 lines
578 B
Ruby
Executable File
# frozen_string_literal: true
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: team_members
|
|
#
|
|
# id :bigint not null, primary key
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
# team_id :bigint not null
|
|
# user_id :bigint not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_team_members_on_team_id (team_id)
|
|
# index_team_members_on_team_id_and_user_id (team_id,user_id) UNIQUE
|
|
# index_team_members_on_user_id (user_id)
|
|
#
|
|
FactoryBot.define do
|
|
factory :team_member do
|
|
user
|
|
team
|
|
end
|
|
end
|