Hello @lunny,
Here are the first few lines of the dump of my table repo_unit
. I hope it is enough. In case not, I can send the whole file (~250 lines) to you.
$ sqlite3 gitea.db '.dump repo_unit'
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE `repo_unit` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `repo_id` INTEGER NULL, `type` INTEGER NULL, `config` TEXT NULL, `created_unix` INTEGER NULL);
INSERT INTO "repo_unit" VALUES(1,6,1,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(2,6,2,'{"AllowOnlyContributorsToTrackTime":1,"EnableDependencies":true,"EnableTimetracker":1}',1491305853);
INSERT INTO "repo_unit" VALUES(3,6,3,'{"AllowMerge":1,"AllowRebase":1,"AllowSquash":1,"IgnoreWhitespaceConflicts":0}',1491305853);
INSERT INTO "repo_unit" VALUES(5,6,4,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(6,6,5,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(8,7,1,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(9,7,2,'{"AllowOnlyContributorsToTrackTime":1,"EnableDependencies":true,"EnableTimetracker":1}',1491305853);
INSERT INTO "repo_unit" VALUES(10,7,3,'{"AllowMerge":1,"AllowRebase":1,"AllowSquash":1,"IgnoreWhitespaceConflicts":0}',1491305853);
INSERT INTO "repo_unit" VALUES(12,7,4,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(13,7,5,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(15,8,1,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(16,8,2,'{"AllowOnlyContributorsToTrackTime":1,"EnableDependencies":true,"EnableTimetracker":1}',1491305853);
INSERT INTO "repo_unit" VALUES(17,8,3,'{"AllowMerge":1,"AllowRebase":1,"AllowSquash":1,"IgnoreWhitespaceConflicts":0}',1491305853);
INSERT INTO "repo_unit" VALUES(19,8,4,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(20,8,5,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(22,9,1,'{}',1491305853);
INSERT INTO "repo_unit" VALUES(23,9,2,'{"AllowOnlyContributorsToTrackTime":1,"EnableDependencies":true,"EnableTimetracker":1}',1491305853);
[...]
INSERT INTO "repo_unit" VALUES(409,52,2,'{"EnableTimetracker":false,"AllowOnlyContributorsToTrackTime":false,"EnableDependencies":false}',1552321984);
INSERT INTO "repo_unit" VALUES(410,52,3,'{"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowSquash":true}',1552321984);
INSERT INTO "repo_unit" VALUES(416,80,1,NULL,1553707116);
INSERT INTO "repo_unit" VALUES(417,80,2,'{"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true}',1553707116);
INSERT INTO "repo_unit" VALUES(418,80,3,'{"IgnoreWhitespaceConflicts":false,"AllowMerge":true,"AllowRebase":true,"AllowSquash":true}',1553707116);
INSERT INTO "repo_unit" VALUES(419,80,4,NULL,1553707116);
INSERT INTO "repo_unit" VALUES(420,80,5,NULL,1553707116);
CREATE INDEX `IDX_repo_unit_s` ON `repo_unit` (`repo_id`,`type`);
CREATE INDEX `IDX_repo_unit_created_unix` ON `repo_unit` (`created_unix`);
COMMIT;