fix pages tsv column index

This commit is contained in:
Philipinho
2024-03-23 00:12:01 +00:00
parent f1d7ffb9dd
commit 7d56920ad5
4 changed files with 11 additions and 2 deletions

View File

@ -8,6 +8,7 @@ import {
JoinColumn,
OneToMany,
DeleteDateColumn,
Index,
} from 'typeorm';
import { User } from '../../user/entities/user.entity';
import { Workspace } from '../../workspace/entities/workspace.entity';
@ -16,6 +17,7 @@ import { PageHistory } from './page-history.entity';
import { Space } from '../../space/entities/space.entity';
@Entity('pages')
@Index(['tsv'])
export class Page {
@PrimaryGeneratedColumn('uuid')
id: string;