Skip to content

Commit 87a1de4

Browse files
authored
Merge pull request #650 from cloudscribe/master_patch1
mysql migration fix - late patch - jk
2 parents 5ab19f0 + 243811c commit 87a1de4

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/cloudscribe.SimpleContent.Storage.EFCore.MySQL/Migrations/20241108094512_simplecontent-20241108.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.EntityFrameworkCore.Migrations;
1+
using Microsoft.EntityFrameworkCore.Migrations;
22

33
#nullable disable
44

@@ -13,25 +13,25 @@ protected override void Up(MigrationBuilder migrationBuilder)
1313
migrationBuilder.AddColumn<bool>(
1414
name: "ShowCreatedBy",
1515
table: "cs_Page",
16-
type: "boolean(1)",
16+
type: "tinyint(1)",
1717
nullable: true);
1818

1919
migrationBuilder.AddColumn<bool>(
2020
name: "ShowCreatedDate",
2121
table: "cs_Page",
22-
type: "boolean(1)",
22+
type: "tinyint(1)",
2323
nullable: true);
2424

2525
migrationBuilder.AddColumn<bool>(
2626
name: "ShowLastModifiedBy",
2727
table: "cs_Page",
28-
type: "boolean(1)",
28+
type: "tinyint(1)",
2929
nullable: true);
3030

3131
migrationBuilder.AddColumn<bool>(
3232
name: "ShowLastModifiedDate",
3333
table: "cs_Page",
34-
type: "boolean(1)",
34+
type: "tinyint(1)",
3535
nullable: true);
3636

3737
migrationBuilder.AddColumn<bool>(

src/cloudscribe.SimpleContent.Storage.EFCore.MySQL/cloudscribe.SimpleContent.Storage.EFCore.MySQL.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>MySQL Entity Framework Core implementation of cloudscribe SimpleContent commands and queries</Description>
5-
<Version>8.3.0</Version>
5+
<Version>8.3.1</Version>
66
<TargetFramework>net8.0</TargetFramework>
77
<Authors>Joe Audette</Authors>
88
<PackageTags>cloudscribe;commands;queries;ef</PackageTags>

src/sourceDev.WebApp/Config/CloudscribeFeatures.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ IWebHostEnvironment env
2525
switch (storage)
2626
{
2727
case "efcore":
28-
switch (efProvider)
28+
switch (efProvider.ToLower())
2929
{
3030
case "mysql":
3131
connectionString = config.GetConnectionString("MySqlEntityFrameworkConnection");

0 commit comments

Comments
 (0)