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
Merge requests
!194
Update: Update database scaff (coscine/issues#3003)
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Update: Update database scaff (coscine/issues#3003)
Issue/3003-stsInstitute
into
master
Overview
0
Commits
7
Pipelines
1
Changes
16
Merged
L. Ellenbeck
requested to merge
Issue/3003-stsInstitute
into
master
8 months ago
Overview
0
Commits
7
Pipelines
1
Changes
16
coscine/issues#3003
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
2cf4e9d6
7 commits,
8 months ago
16 files
+
256
−
64
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
16
src/Database/Models/ProjectModel.cs
+
1
−
4
View file @ 2cf4e9d6
Edit in single-file editor
Open in Web IDE
Show full file
@@ -93,10 +93,7 @@ namespace Coscine.Database.Models
{
if
(!
databaseObject
.
Deleted
)
{
return
DatabaseConnection
.
ConnectToDatabase
((
db
)
=>
{
return
(
int
)
db
.
Update
(
databaseObject
).
State
;
});
return
DatabaseConnection
.
ConnectToDatabase
((
db
)
=>
(
int
)
db
.
Update
(
databaseObject
).
State
);
}
else
{
Loading