Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Coscine
backend
libraries
Migrations
Commits
ef548374
Commit
ef548374
authored
Aug 17, 2020
by
Marcel Nellesen
Browse files
Merge branch 'Hotfix/1020-releaseMigrations' into 'master'
Hotfix/1020-releaseMigrations See merge request coscine/cs/migrations!28
parents
39e9a496
47711598
Changes
4
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ef548374
...
...
@@ -22,7 +22,7 @@ cake:Release:
stage
:
release
script
:
-
PowerShell .\build.ps1 -Target Release -Configuration Release --nugetApiKey="${NUGET_API_KEY}"
-
PowerShell .\src\Migrator\bin\Release\Migrator.exe --migrate_up
-
PowerShell .\src\Migrator\bin\Release\
Coscine.
Migrator.exe --migrate_up
variables
:
GIT_STRATEGY
:
clone
dependencies
:
...
...
README.md
View file @
ef548374
...
...
@@ -4,14 +4,14 @@ This project provides a library with the migrations based on Fluent Migrator and
The library (Migrations) can also be migrated by the official Fluent Migrator runner.
Our custom executable (Migrator.exe) also allows for the creation of the needed database.
Our custom executable (
Coscine.
Migrator.exe) also allows for the creation of the needed database.
Start a migration by calling
`Migrator.exe --migrate_up`
.
Start a migration by calling
`
Coscine.
Migrator.exe --migrate_up`
.
This will create the needed database and run all migrations.
You can run the command again at a later time, to install additional migrations.
Migrations already deployed will not be deployed again.
You can revert a migration by calling
`Migrator.exe --roll_back 1`
.
You can revert a migration by calling
`
Coscine.
Migrator.exe --roll_back 1`
.
This will remove the most recent migration.
Replacing the 1 with a 2 will revert the two most recent migrations and so on.
...
...
src/Migrations/Properties/AssemblyInfo.cs
View file @
ef548374
...
...
@@ -9,8 +9,8 @@ using System.Reflection;
[
assembly
:
AssemblyDescription
(
"Migrations is a part of the CoScInE group."
)]
[
assembly
:
AssemblyCompany
(
"IT Center, RWTH Aachen University"
)]
[
assembly
:
AssemblyProduct
(
"Migrations"
)]
[
assembly
:
AssemblyVersion
(
"1.6.
0
"
)]
[
assembly
:
AssemblyFileVersion
(
"1.6.
0
"
)]
[
assembly
:
AssemblyInformationalVersion
(
"1.6.
0
"
)]
[
assembly
:
AssemblyVersion
(
"1.6.
1
"
)]
[
assembly
:
AssemblyFileVersion
(
"1.6.
1
"
)]
[
assembly
:
AssemblyInformationalVersion
(
"1.6.
1-beta0001
"
)]
[
assembly
:
AssemblyCopyright
(
"2020 IT Center, RWTH Aachen University"
)]
src/Migrator/Properties/AssemblyInfo.cs
View file @
ef548374
...
...
@@ -9,8 +9,8 @@ using System.Reflection;
[
assembly
:
AssemblyDescription
(
"Migrator is a part of the CoScInE group."
)]
[
assembly
:
AssemblyCompany
(
"IT Center, RWTH Aachen University"
)]
[
assembly
:
AssemblyProduct
(
"Migrator"
)]
[
assembly
:
AssemblyVersion
(
"1.6.
0
"
)]
[
assembly
:
AssemblyFileVersion
(
"1.6.
0
"
)]
[
assembly
:
AssemblyInformationalVersion
(
"1.6.
0
"
)]
[
assembly
:
AssemblyVersion
(
"1.6.
1
"
)]
[
assembly
:
AssemblyFileVersion
(
"1.6.
1
"
)]
[
assembly
:
AssemblyInformationalVersion
(
"1.6.
1-beta0001
"
)]
[
assembly
:
AssemblyCopyright
(
"2020 IT Center, RWTH Aachen University"
)]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment