# Delete the given username and any records in other tables
# belonging to it.
- sql_queries = ['DELETE FROM prefs WHERE username = $1::int;']
- sql_queries << 'DELETE FROM shared WHERE user_from = $1::int;'
+ sql_queries = ['DELETE FROM prefs WHERE username = $1;']
+ sql_queries << 'DELETE FROM shared WHERE user_from = $1;'
begin
connection = PGconn.connect(@db_host,