Re-initialize database migrations

This commit is contained in:
Philipinho
2024-03-22 23:40:01 +00:00
parent 2304abd43c
commit 33f0a7a0cc
2 changed files with 0 additions and 4 deletions

View File

@ -8,7 +8,6 @@ import {
JoinColumn, JoinColumn,
OneToMany, OneToMany,
DeleteDateColumn, DeleteDateColumn,
Index,
} from 'typeorm'; } from 'typeorm';
import { User } from '../../user/entities/user.entity'; import { User } from '../../user/entities/user.entity';
import { Workspace } from '../../workspace/entities/workspace.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'; import { Space } from '../../space/entities/space.entity';
@Entity('pages') @Entity('pages')
@Index('pages_tsv_idx', ['tsv'])
export class Page { export class Page {
@PrimaryGeneratedColumn('uuid') @PrimaryGeneratedColumn('uuid')
id: string; id: string;

View File

@ -92,6 +92,4 @@ export class Workspace {
@OneToMany(() => Group, (group) => group.workspace) @OneToMany(() => Group, (group) => group.workspace)
groups: []; groups: [];
// workspaceUser?: WorkspaceUser;
} }