Commit Graph
14 Commits
Author SHA1 Message Date
zkldi 9dd935dfba feat: add migration for removing array-based folder-stats 2022-06-01 15:09:53 +01:00
zkldi cad860413e fix: make all tests pass
I'm sorry for how disgustingly large all of these commits are. I promise
that this is the last time something this disgusting will happen.

This is a mono-patch for various things that were broken by the major
refactor. It's mostly things like error messages now being different
(and tests failing as a result).

Some notable fixes include me accidentally deleting the entire DELETE
api-tokens endpoint (lol), and timeAchieved: 0 in batch-manual not
coercing to null anymore. It appears the behaviour was intentional for
some reason. I'm not sure why though.
2022-05-31 17:56:14 +01:00
zkldi a6d23ad40a experimental: final cadence validation commit 2022-05-25 21:29:54 +01:00
zkldi 0adc39b5cb experimental: initial autofix blast 2022-05-06 03:39:03 +01:00
zkldi 77f3ba76a4 fix: Move FAKE_MIGRATION out of test-data
Attempting to depend on anything inside test-utils at runtime is a
footgun, and may result in the server not booting.

This patch stops the server from depending on something that might not
exist at runtime, such as test-utils/test-data trying to get the buffer
of the eamusement csv and failing catastrophically.
2022-04-22 23:13:18 +01:00
zkldi 2940808915 style: add a comment explaining unapplied migrations 2022-04-22 04:47:48 +01:00
zkldi 715906eefb test: add tests for migrations 2022-04-22 02:12:32 +01:00
zkldi b70f02de01 fix: make update script update more than one record 2022-04-22 01:43:23 +01:00
zkldi 960a7e93d3 fix: Remove migrations from pending when they fail 2022-04-21 18:36:27 +01:00
zkldi cb7e9f8946 style: Add comment for migration failures 2022-04-21 17:31:19 +01:00
zkldi 9fe155bf71 feat(migrations): apply unapplied migrations on init 2022-04-21 17:28:59 +01:00
zkldi c1900e1c93 feat(migration): add ugpt-rivals migration script 2022-04-21 17:22:30 +01:00
zkldi eaf2761c96 fix(migrations): add more logging 2022-04-21 17:22:15 +01:00
zkldi b1248f861a feat(migration): create a skeleton framework for applying migrations 2022-04-21 17:17:28 +01:00