zeripath
695e8ae81d
Add primary_key to issue_index ( #16813 ) ( #16820 )
...
Backport #16813
Make the group_id a primary key in issue_index. This already has an
unique index and therefore is a good candidate for becoming a primary
key.
This PR also changes all other uses of this table to add the group_id as
the primary key.
The migration v192 from #16813 has not been backported but Xorm will
work fine with non-primary keyed tables. If a user on 1.15 wishes to
have the correct schema sooner than 1.16 - they can use gitea doctor
recreate-table issue_index and gitea will recreate the table with the
primary key.
Fix #16802
Signed-off-by: Andrew Thornton art27@cantab.net
2021-08-25 18:10:15 -04:00
..
2021-03-24 19:27:22 +01:00
2021-06-26 13:28:55 +02:00
2021-08-20 22:47:37 -04:00
2021-03-24 19:27:22 +01:00
2021-03-14 19:52:12 +01:00
2021-05-10 07:45:17 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-05-10 07:45:17 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-07-08 13:38:13 +02:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-01-28 23:58:33 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-07-08 13:38:13 +02:00
2021-05-12 01:11:42 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2020-12-26 23:28:47 +00:00
2021-01-02 00:33:27 +08:00
2021-01-06 16:11:23 +01:00
2021-02-20 15:02:39 +01:00
2021-01-24 16:23:05 +01:00
2021-01-29 23:52:13 +08:00
2021-02-08 11:09:14 +08:00
2021-02-11 18:32:25 +01:00
2021-02-12 13:01:26 +02:00
2021-04-13 20:04:17 -04:00
2021-02-19 12:52:11 +02:00
2021-03-19 21:01:24 +02:00
2021-03-18 02:06:40 -04:00
2021-03-24 19:27:22 +01:00
2021-03-24 19:27:22 +01:00
2021-03-24 19:27:22 +01:00
2021-03-24 19:27:22 +01:00
2021-04-08 18:25:57 -04:00
2021-04-14 14:02:12 +02:00
2021-06-14 15:07:49 -04:00
2021-06-08 11:52:51 +08:00
2021-06-23 17:12:38 -04:00
2021-08-25 18:10:15 -04:00
2021-08-25 18:10:15 -04:00
2021-06-14 19:20:43 +02:00
2021-06-16 18:02:24 -04:00
2021-06-23 17:12:38 -04:00
2021-06-25 16:28:55 +02:00
2021-06-27 20:21:09 +01:00
2021-07-13 15:28:07 +02:00