cc624af69f
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
429 B
TypeScript
13 lines
429 B
TypeScript
import { CardStatementModel } from "@/models/card-statement";
|
||
import { TransactionModel } from "@/models/transaction";
|
||
import type { Migration } from "./types";
|
||
|
||
export const migration: Migration = {
|
||
name: "006-card-statements",
|
||
description: "statements (kart/KMH dönemleri) index'leri; taksit planı index'i",
|
||
async up() {
|
||
await CardStatementModel.createIndexes();
|
||
await TransactionModel.createIndexes();
|
||
},
|
||
};
|