<commit_before>CREATE OR REPLACE FUNCTION ts.insertsteward(
  _contactid int,
  _username CHARACTER VARYING,
  _password CHARACTER VARYING,
  _taxonomyexpert boolean,
  _databaseid int)
RETURNS void
LANGUAGE sql
AS $function$

  insert into ti.stewards(contactid, username, pwd, taxonomyexpert)
  values      (_contactid, _username, _password, _taxonomyexpert);

  insert into ti.stewarddatabases(stewardid, databaseid)
  values      ((select stewardid from ti.stewards where (contactid = _contactid)), _databaseid)
$function$<commit_msg>I switched the steward back to smallint since I don't have permission to change the data type in the steward table to boolean.<commit_after>CREATE OR REPLACE FUNCTION ts.insertsteward(
  _contactid int,
  _username CHARACTER VARYING,
  _password CHARACTER VARYING,
  _taxonomyexpert smallint,
  _databaseid int)
RETURNS void
LANGUAGE sql
AS $function$

  insert into ti.stewards(contactid, username, pwd, taxonomyexpert)
  values      (_contactid, _username, _password, _taxonomyexpert);

  insert into ti.stewarddatabases(stewardid, databaseid)
  values      ((select stewardid from ti.stewards where (contactid = _contactid)), _databaseid)
$function$
{'fraction_non_alphanumeric': 0.06722689075630252, 'fraction_numerical': 0.0, 'mean_word_length': 5.335106382978723, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '899828', 'n_tokens_mistral': 385, 'n_tokens_neox': 377, 'n_words': 117}