- Gitea version (or commit ref): Gitea Version: 1.1.0+893-gf94c1b3 - Git version: git version 2.7.4 - Operating system: Ubuntu 16.04.3 LTS - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL)  - [ ] No - [ ] Not relevant - Log gist: ## Description I transferred 29 repositories to another organization and found the repo number of the team become -29. ... ## Screenshots  <!-- **If this issue involves the Web Interface, please include a screenshot** -->