domsPlace/private/database/queries/team/AddTeamUserSeason.sql

6 lines
157 B
SQL

INSERT INTO "TeamUsersSeasons" (
"teamId", "userId", "seasonId", "registered"
) VALUES (
${teamId}, ${userId}, ${seasonId}, ${registered}
) RETURNING *;