Files
Gogs/models
Pablo Saavedra 5906268917 models/org_team: getUserTeams uses includes always -1 in the IN statement (#4412)
Ensure that the IN clause contains one value at least. The idea is avoid a
syntax error in the SQL sentence and rollbacks in the transactions.
For example:

    ERROR:  syntax error at or near ")"
    LINE 1: ...RE ... and team.id IN ();

We will always add the -1 value in the IN list.
2017-05-29 23:24:37 -04:00
..
2014-04-13 03:14:43 -04:00
2016-08-12 02:56:50 -07:00
2017-03-12 01:59:48 -05:00
2017-04-04 19:29:59 -04:00