mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-13 08:12:32 +10:00
Re-initialize database migrations
This commit is contained in:
@ -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;
|
||||||
|
|||||||
@ -92,6 +92,4 @@ export class Workspace {
|
|||||||
|
|
||||||
@OneToMany(() => Group, (group) => group.workspace)
|
@OneToMany(() => Group, (group) => group.workspace)
|
||||||
groups: [];
|
groups: [];
|
||||||
|
|
||||||
// workspaceUser?: WorkspaceUser;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user