From 33f0a7a0cc27e9ca88defbe548f106eac87a7ff9 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Fri, 22 Mar 2024 23:40:01 +0000 Subject: [PATCH] Re-initialize database migrations --- apps/server/src/core/page/entities/page.entity.ts | 2 -- apps/server/src/core/workspace/entities/workspace.entity.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/apps/server/src/core/page/entities/page.entity.ts b/apps/server/src/core/page/entities/page.entity.ts index 3c2fced..1d22cd0 100644 --- a/apps/server/src/core/page/entities/page.entity.ts +++ b/apps/server/src/core/page/entities/page.entity.ts @@ -8,7 +8,6 @@ import { JoinColumn, OneToMany, DeleteDateColumn, - Index, } from 'typeorm'; import { User } from '../../user/entities/user.entity'; import { Workspace } from '../../workspace/entities/workspace.entity'; @@ -17,7 +16,6 @@ import { PageHistory } from './page-history.entity'; import { Space } from '../../space/entities/space.entity'; @Entity('pages') -@Index('pages_tsv_idx', ['tsv']) export class Page { @PrimaryGeneratedColumn('uuid') id: string; diff --git a/apps/server/src/core/workspace/entities/workspace.entity.ts b/apps/server/src/core/workspace/entities/workspace.entity.ts index d60fad5..192973c 100644 --- a/apps/server/src/core/workspace/entities/workspace.entity.ts +++ b/apps/server/src/core/workspace/entities/workspace.entity.ts @@ -92,6 +92,4 @@ export class Workspace { @OneToMany(() => Group, (group) => group.workspace) groups: []; - - // workspaceUser?: WorkspaceUser; }