Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
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
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
libraries
Database
Commits
607e7278
This project is archived. Its data is
read-only
.
Commit
607e7278
authored
Sep 9, 2022
by
Petar Hristov
Browse files
Options
Downloads
Patches
Plain Diff
Creator
parent
dbcb948f
Branches
Issue/2221-projectDateCreated
Branches containing commit
No related tags found
2 merge requests
!175
New: Columns "Date Created" and "Creator" added to the Project Table
,
!174
New: Column "Date Created" added to the Resource Table
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Database/Models/ProjectModel.cs
+2
-1
2 additions, 1 deletion
src/Database/Models/ProjectModel.cs
with
2 additions
and
1 deletion
src/Database/Models/ProjectModel.cs
+
2
−
1
View file @
607e7278
...
...
@@ -146,8 +146,9 @@ namespace Coscine.Database.Models
Slug
=
GenerateSlug
(
projectObject
),
VisibilityId
=
projectObject
.
Visibility
.
Id
,
// DateCreated is skipped here. Value set automatically by the database.
Creator
=
projectObject
.
Creator
,
Creator
=
user
.
Id
,
};
Insert
(
project
);
try
{
...
...
...
...
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
sign in
to comment