Transaction username mongodb mutation (#14231)

* migrate newest usernames in transactions

* fix lint

* change the parameters
This commit is contained in:
negue
2022-09-21 21:42:39 +02:00
committed by GitHub
parent 6e5cac88fc
commit e9ee2d3fdd
6 changed files with 104 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import mongoose from 'mongoose';
import validator from 'validator';
import baseModel from '../libs/baseModel';
import { model as Transaction } from './transaction';
import { TransactionModel as Transaction } from './transaction';
export const schema = new mongoose.Schema({
planId: String,