Skip to content

Commit

Permalink
Merge branch 'release/3.804.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
vc-ci committed Feb 12, 2024
2 parents 32f4dda + 1a55861 commit 35e8a79
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 236 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/module-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v3.800.0
# v3.800.1
name: Module CI

on:
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
run: vc-build Compress -skip Clean+Restore+Compile+Test

- name: Publish Nuget
if: ${{ (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master') && github.event_name != 'workflow_dispatch' }}
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'workflow_dispatch' }}
uses: VirtoCommerce/vc-github-actions/publish-nuget@master

- name: Publish to Blob
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<!-- These properties will be shared for all projects -->
<PropertyGroup>
<VersionPrefix>3.803.0</VersionPrefix>
<VersionPrefix>3.804.0</VersionPrefix>
<VersionSuffix>
</VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
Expand Down
29 changes: 12 additions & 17 deletions src/VirtoCommerce.CoreModule.Data.MySql/Readme.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
# Generate Migrations

## Package manager
Add-Migration Initial -Context VirtoCommerce.CoreModule.Data.Repositories.CoreDbContext -Verbose -OutputDir Migrations -Project VirtoCommerce.CoreModule.Data.MySql -StartupProject VirtoCommerce.CoreModule.Data.MySql -Debug



### Entity Framework Core Commands
```
dotnet tool install --global dotnet-ef --version 6.*
## Install CLI tools for Entity Framework Core
```cmd
dotnet tool install --global dotnet-ef --version 8.0.0
```

**Generate Migrations**
or update

```cmd
dotnet tool update --global dotnet-ef --version 8.0.0
```
dotnet ef migrations add Initial -- "{connection string}"
dotnet ef migrations add Update1 -- "{connection string}"
dotnet ef migrations add Update2 -- "{connection string}"
```

etc..

**Apply Migrations**
## Add Migration
Select Data.<Provider> folder and run following command for each provider:

`dotnet ef database update -- "{connection string}"`
```cmd
dotnet ef migrations add <migration-name>
```

This file was deleted.

This file was deleted.

30 changes: 12 additions & 18 deletions src/VirtoCommerce.CoreModule.Data.SqlServer/Readme.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
# Generate Migrations

## Package manager
Add-Migration Initial -Context VirtoCommerce.CoreModule.Data.Repositories.CoreDbContext -Verbose -OutputDir Migrations -Project VirtoCommerce.CoreModule.Data.SqlServer -StartupProject VirtoCommerce.CoreModule.Data.SqlServer -Debug



### Entity Framework Core Commands
```
dotnet tool install --global dotnet-ef --version 6.*
## Install CLI tools for Entity Framework Core
```cmd
dotnet tool install --global dotnet-ef --version 8.0.0
```

**Generate Migrations**
or update

```
dotnet ef migrations add Initial -- "{connection string}"
dotnet ef migrations add Update1 -- "{connection string}"
dotnet ef migrations add Update2 -- "{connection string}"
```cmd
dotnet tool update --global dotnet-ef --version 8.0.0
```

etc..
## Add Migration
Select Data.<Provider> folder and run following command for each provider:

**Apply Migrations**

`dotnet ef database update -- "{connection string}"`
```cmd
dotnet ef migrations add <migration-name>
```
2 changes: 1 addition & 1 deletion src/VirtoCommerce.CoreModule.Web/module.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<id>VirtoCommerce.Core</id>
<version>3.803.0</version>
<version>3.804.0</version>
<version-tag />
<platformVersion>3.800.0</platformVersion>
<title>Commerce core module</title>
Expand Down

0 comments on commit 35e8a79

Please sign in to comment.