Add eslint-disable and change import of Message in contribution.

This commit is contained in:
elweyn 2022-08-16 09:07:19 +02:00
parent d86f502fe7
commit 60890b5eac
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import {
} from 'typeorm'
import { DecimalTransformer } from '../../src/typeorm/DecimalTransformer'
import { User } from '../User'
import { Message } from './Message'
import { Message } from '../Message'
@Entity('contributions')
export class Contribution extends BaseEntity {

View File

@ -5,6 +5,8 @@
* This is done to keep all data in the same place and is to be understood in conjunction with the next migration
* `0046-messages_tables` which will fill the tables with the existing data
*/
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
/* eslint-disable @typescript-eslint/no-explicit-any */
export async function upgrade(queryFn: (query: string, values?: any[]) => Promise<Array<any>>) {
await queryFn(`