Skip to content

Commit

Permalink
BC-7197 Change Index declaration method (#4957)
Browse files Browse the repository at this point in the history
* Change Index declaration method
  • Loading branch information
blazejpass authored Apr 24, 2024
1 parent 7eb40fc commit 4edcc96
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { BoardDoBuilder, BoardNodeType } from './types';
const PATH_SEPARATOR = ',';

@Entity({ tableName: 'boardnodes', discriminatorColumn: 'type', abstract: true })
@Index({ properties: ['path'] })
@Index({ properties: ['type'] })
export abstract class BoardNode extends BaseEntityWithTimestamps {
constructor(props: BoardNodeProps) {
super();
Expand Down

0 comments on commit 4edcc96

Please sign in to comment.