gotosocial/internal
Terin Stock 4a925e49b1
[bugfix] create admin_account_actions table in tx (#940)
The migration that adds the `admin_account_actions` table did so at the
same time as adding indexes onto the new table. This code was ran inside
a `RunInTx` function, but the table creation did not use the transaction
reference, while the creation of the indexes did. This could cause a
race between the table and index creations, depending on the scheduling
order. If the table creation did not win the race, then the migration
would fail.

This changeset corrects the table creation to also be done inside the
same transaction as the index creation.

Signed-off-by: Terin Stock <terinjokes@gmail.com>

Signed-off-by: Terin Stock <terinjokes@gmail.com>
2022-11-01 15:30:02 +01:00
..
ap [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
api [docs] Use correct form for status submit (#915) 2022-10-17 12:54:36 +02:00
cache [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
concurrency [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
config [bugfix] Fix imports for helpers.gen.go (#924) 2022-10-29 17:14:57 +02:00
db [bugfix] create admin_account_actions table in tx (#940) 2022-11-01 15:30:02 +01:00
email [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
federation [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
gotosocial test the media manager a bit, add shutdown logic 2022-01-10 18:36:09 +01:00
gtserror [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
gtsmodel [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
httpclient [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
id change muchos things 2021-09-01 11:11:26 +02:00
log [chore] small logging cleanup (#869) 2022-10-01 16:36:08 +01:00
media [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
messages Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
netutil [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
oauth [feature] oob oauth token support (#889) 2022-10-08 13:49:56 +02:00
oidc [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
processing [feature] Add emoji DELETE handler at /api/v1/admin/custom_emojis (#913) 2022-10-14 17:30:04 +02:00
regexes [bugfix] Make hashtag regex work with non-ascii characters (#682) 2022-07-03 11:03:03 +02:00
router [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
storage don't error out if storage key already exists (#840) 2022-09-19 12:59:11 +01:00
stream Fix streamed messages ending up in wrong timeline(s) (#325) 2021-11-22 19:03:21 +01:00
text [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
timeline [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
trans [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
transport [performance] cache domains after max retries in transport (#884) 2022-10-08 13:50:16 +02:00
typeutils [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
uris [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
util [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
validate [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
visibility [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
web [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00