Migration fixes pre-release (#13039)

* migration fix

* migration fix

---------

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
This commit is contained in:
Rohan Lahori 2025-06-18 14:21:06 +05:30 committed by GitHub
parent 957b1513af
commit 81527b91e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';
export class UpdateGlobalDataSources1743058812003 implements MigrationInterface {
export class UpdateGlobalDataSources1742888566919 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
// Step 1: Set app_version_id to NULL for existing global data sources
await queryRunner.query(`

View file

@ -1,6 +1,6 @@
import { MigrationInterface, QueryRunner, Table, TableForeignKey } from 'typeorm';
export class CreateTablesForToojetAiConversations1740399879253 implements MigrationInterface {
export class CreateTablesForToojetAiConversations1737530238311 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
// Create `ai_conversations` table
await queryRunner.createTable(