3acd71fd59
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
368 B
TypeScript
13 lines
368 B
TypeScript
import { PayeeModel } from "@/models/payee";
|
|
import { TransactionModel } from "@/models/transaction";
|
|
import type { Migration } from "./types";
|
|
|
|
export const migration: Migration = {
|
|
name: "003-transactions",
|
|
description: "transactions ve payees index'leri",
|
|
async up() {
|
|
await TransactionModel.createIndexes();
|
|
await PayeeModel.createIndexes();
|
|
},
|
|
};
|