Skip to content
Snippets Groups Projects
Commit 607e7278 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Creator

parent dbcb948f
Branches
Tags
2 merge requests!175New: Columns "Date Created" and "Creator" added to the Project Table,!174New: Column "Date Created" added to the Resource Table
...@@ -146,8 +146,9 @@ namespace Coscine.Database.Models ...@@ -146,8 +146,9 @@ namespace Coscine.Database.Models
Slug = GenerateSlug(projectObject), Slug = GenerateSlug(projectObject),
VisibilityId = projectObject.Visibility.Id, VisibilityId = projectObject.Visibility.Id,
// DateCreated is skipped here. Value set automatically by the database. // DateCreated is skipped here. Value set automatically by the database.
Creator = projectObject.Creator, Creator = user.Id,
}; };
Insert(project); Insert(project);
try try
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment