Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Database
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
Coscine
backend
libraries
Database
Merge requests
!158
Release: Sprint/2022-03
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Release: Sprint/2022-03
dev
into
master
Overview
0
Commits
3
Pipelines
2
Changes
1
Merged
Release: Sprint/2022-03
Petar Hristov
requested to merge
dev
into
master
Mar 1, 2022
Overview
0
Commits
3
Pipelines
2
Changes
1
This Merge Request is automatically created
0
0
Merge request reports
Compare
master
version 1
fed29b0d
Mar 1, 2022
master (base)
and
latest version
latest version
2408adda
3 commits,
Mar 1, 2022
version 1
fed29b0d
2 commits,
Mar 1, 2022
1 file
+
6
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Database/Models/ResourceModel.cs
+
6
−
2
View file @ 2408adda
Edit in single-file editor
Open in Web IDE
Show full file
using
Coscine.Configuration
;
using
Coscine.Configuration
;
using
Coscine.Database.DataModel
;
using
Coscine.Database.ReturnObjects
;
using
Coscine.Database.Util
;
@@ -333,6 +333,10 @@ namespace Coscine.Database.Models
{
resource
.
LicenseId
=
resourceObject
.
License
.
Id
;
}
else
{
resource
.
LicenseId
=
null
;
}
// the application profile can not be altered after creation
// resource.ApplicationProfile = resourceObject.ApplicationProfile;
@@ -565,4 +569,4 @@ namespace Coscine.Database.Models
return
compare
==
"rdss3"
||
compare
==
"rdss3ude"
||
compare
==
"rdss3nrw"
||
compare
==
"rdss3tudo"
;
}
}
}
\ No newline at end of file
}
Loading