docs: record auth hash alignment and validation results

This commit is contained in:
Gabriel20xx committed 2026-10-20 15:26:58 +00:00
1 parent 22887fef03
commit f7819904b9
51 files changed
+1792 -542

No files matched your search

+1 -1
View File
@@ -31,6 +31,7 @@ func (c *Core) Migrate(ctx context.Context) error {
var migrationStatements = []string{
`CREATE EXTENSION IF NOT EXISTS pgcrypto`,
`CREATE EXTENSION IF NOT EXISTS pg_trgm`,
`DROP INDEX IF EXISTS media_search_idx`,
`CREATE TABLE IF NOT EXISTS users (
id BIGSERIAL PRIMARY KEY,
@@ -85,7 +86,6 @@ var migrationStatements = []string{
`ALTER TABLE media ADD COLUMN IF NOT EXISTS funscript_max_speed REAL`,
`CREATE INDEX IF NOT EXISTS media_active_idx ON media (active)`,
`CREATE INDEX IF NOT EXISTS media_file_path_idx ON media (file_path)`,
`CREATE INDEX IF NOT EXISTS media_search_idx ON media USING GIN (to_tsvector('simple', COALESCE(title, '') || ' ' || COALESCE(original_filename, '') || ' ' || COALESCE(file_path, '')))`,
`CREATE INDEX IF NOT EXISTS media_active_type_idx ON media (active, media_type)`,
`CREATE TABLE IF NOT EXISTS media_stats (