fix: rename author to reporter in report system

This commit is contained in:
trafficlunar 2025-05-09 21:34:23 +01:00
parent 0689f7af09
commit 8320d55939
2 changed files with 2 additions and 1 deletions

View file

@ -105,6 +105,7 @@ model Report {
reason ReportReason reason ReportReason
reasonNotes String? reasonNotes String?
// note: this refers to the person who made the report
authorId Int? authorId Int?
createdAt DateTime @default(now()) createdAt DateTime @default(now())

View file

@ -72,7 +72,7 @@ export default async function AdminPage() {
<th>Target</th> <th>Target</th>
<th>Reason</th> <th>Reason</th>
<th>Notes</th> <th>Notes</th>
<th>Author</th> <th>Reporter</th>
<th>Actions</th> <th>Actions</th>
</tr> </tr>
</thead> </thead>