Skip to content

Commit

Permalink
Adding where condition
Browse files Browse the repository at this point in the history
  • Loading branch information
udaydefra committed Aug 9, 2024
1 parent 99dca6e commit 52726b1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ public partial class UpdateTemplateMaster : Migration
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("delete dbo.default_parameter_setting_detail");
migrationBuilder.Sql("delete dbo.default_parameter_setting_master");
migrationBuilder.Sql("delete dbo.default_parameter_template_master");
migrationBuilder.Sql("delete dbo.default_parameter_setting_detail where 1=1");
migrationBuilder.Sql("delete dbo.default_parameter_setting_master where 1=1");
migrationBuilder.Sql("delete dbo.default_parameter_template_master where 1=1");
migrationBuilder.InsertData(
table: "default_parameter_template_master",
columns: new[] { "parameter_unique_ref", "parameter_category", "parameter_type", "valid_Range_from", "valid_Range_to" },
Expand Down

0 comments on commit 52726b1

Please sign in to comment.