-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #363 from shesha-io/deviceForceUpdate-feature
Added a Descriminator value on device force update
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
shesha-core/src/Shesha.NHibernate/Migrations/M20230706102000.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using FluentMigrator; | ||
using System; | ||
|
||
namespace Shesha.Migrations | ||
{ | ||
[Migration(20230706102000)] | ||
public class M20230706102000 : Migration | ||
{ | ||
public override void Up() | ||
{ | ||
|
||
Alter.Table("Frwk_DeviceForceUpdates").AddColumn("Frwk_Discriminator").AsString().Nullable(); | ||
|
||
} | ||
public override void Down() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |