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 is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
libraries
Database
Commits
b545d3f6
Commit
b545d3f6
authored
3 years ago
by
Petar Hristov
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into 'master'
Release: Sprint/2022-03 See merge request
!158
parents
12d9c23d
2408adda
No related branches found
No related tags found
1 merge request
!158
Release: Sprint/2022-03
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Database/Models/ResourceModel.cs
+6
-2
6 additions, 2 deletions
src/Database/Models/ResourceModel.cs
with
6 additions
and
2 deletions
src/Database/Models/ResourceModel.cs
+
6
−
2
View file @
b545d3f6
using
Coscine.Configuration
;
using
Coscine.Configuration
;
using
Coscine.Database.DataModel
;
using
Coscine.Database.DataModel
;
using
Coscine.Database.ReturnObjects
;
using
Coscine.Database.ReturnObjects
;
using
Coscine.Database.Util
;
using
Coscine.Database.Util
;
...
@@ -333,6 +333,10 @@ namespace Coscine.Database.Models
...
@@ -333,6 +333,10 @@ namespace Coscine.Database.Models
{
{
resource
.
LicenseId
=
resourceObject
.
License
.
Id
;
resource
.
LicenseId
=
resourceObject
.
License
.
Id
;
}
}
else
{
resource
.
LicenseId
=
null
;
}
// the application profile can not be altered after creation
// the application profile can not be altered after creation
// resource.ApplicationProfile = resourceObject.ApplicationProfile;
// resource.ApplicationProfile = resourceObject.ApplicationProfile;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment