for (const projectId of projects) {
    await sql`
      insert into account_project (account_id, project_id) values (${user.id}, ${projectId}) returning *
    `
  }