mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Add authorship entity.
It stores which parts of a revision were edited by a particular user. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
31fbe390c7
commit
0a33d8ef8d
2 changed files with 47 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
|||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Authorship } from './authorship.entity';
|
||||
import { Revision } from './revision.entity';
|
||||
import { RevisionsService } from './revisions.service';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Revision])],
|
||||
imports: [TypeOrmModule.forFeature([Revision, Authorship])],
|
||||
providers: [RevisionsService],
|
||||
exports: [RevisionsService],
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue