Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
IQB
PersonalDB
Commits
8c98a8a2
Commit
8c98a8a2
authored
Feb 21, 2022
by
mechtelm
Browse files
Add principal relation entity
parent
2762c416
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/api/src/app/database/entities/principal.entity.ts
0 → 100644
View file @
8c98a8a2
import
{
Entity
,
PrimaryColumn
}
from
'
typeorm
'
;
@
Entity
()
class
Principal
{
@
PrimaryColumn
()
public
id
:
number
;
@
PrimaryColumn
({
name
:
'
sub_id
'
})
public
subId
:
number
;
}
export
default
Principal
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment