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
!6
Add Owner definition
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Add Owner definition
Topic/127-migrationForProjectAPI
into
Product/118-migrationForProjectAPI
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Add Owner definition
Benedikt Heinrichs
requested to merge
Topic/127-migrationForProjectAPI
into
Product/118-migrationForProjectAPI
Jul 4, 2019
Overview
0
Commits
1
Pipelines
1
Changes
1
0
0
Merge request reports
Compare
Product/118-migrationForProjectAPI
Product/118-migrationForProjectAPI (base)
and
latest version
latest version
5ca45019
1 commit,
Jul 4, 2019
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Migrator/Migrations/Migration201907011352ProjectApi.cs
+
2
−
0
View file @ 5ca45019
Edit in single-file editor
Open in Web IDE
Show full file
@@ -74,6 +74,8 @@ namespace Coscine.Database.Migration.Migrations
.
WithColumn
(
"Id"
).
AsGuid
().
PrimaryKey
().
WithDefault
(
SystemMethods
.
NewGuid
)
.
WithColumn
(
"DisplayName"
).
AsString
(
50
).
NotNullable
()
.
WithColumn
(
"Description"
).
AsString
(
50
).
NotNullable
();
Insert
.
IntoTable
(
"Roles"
).
Row
(
new
{
DisplayName
=
"Owner"
,
Description
=
"Owner of the project."
});
#
endregion
#
region
Resources
Loading