Re-initialize database migrations
This commit is contained in:
parent
2304abd43c
commit
33f0a7a0cc
2 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue