Add structured moderation assessments with revision history
This commit is contained in:
@@ -31,7 +31,8 @@ import { migrateTemperatures } from '../hosts/temperatures.js';
|
||||
import {
|
||||
migrateModeration,
|
||||
migrateModerationCases,
|
||||
migrateModerationCaseActions
|
||||
migrateModerationCaseActions,
|
||||
migrateModerationCaseAssessments
|
||||
} from '../moderation/schema.js';
|
||||
import type { Migration } from './migration-runner.js';
|
||||
|
||||
@@ -179,6 +180,11 @@ export const migrations: readonly Migration[] = [
|
||||
version: 31,
|
||||
name: 'moderation case links to existing actions',
|
||||
run: migrateModerationCaseActions
|
||||
},
|
||||
{
|
||||
version: 32,
|
||||
name: 'moderation case assessment revision history',
|
||||
run: migrateModerationCaseAssessments
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user