forked from ddrilling/AsbCloudServer
Merge pull request 'Фикс названия разрешения получения версий' (#315) from fix/version_list into dev
Reviewed-on: https://test.digitaldrilling.ru:8443/DDrilling/AsbCloudServer/pulls/315
This commit is contained in:
commit
ba57ee478c
12377
AsbCloudDb/Migrations/20240902054632_Update_Permission_Version.Designer.cs
generated
Normal file
12377
AsbCloudDb/Migrations/20240902054632_Update_Permission_Version.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,32 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AsbCloudDb.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Update_Permission_Version : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "t_permission",
|
||||
keyColumn: "id",
|
||||
keyValue: 532,
|
||||
column: "name",
|
||||
value: "Version.get");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "t_permission",
|
||||
keyColumn: "id",
|
||||
keyValue: 532,
|
||||
column: "name",
|
||||
value: "TelemetryInfo.get");
|
||||
}
|
||||
}
|
||||
}
|
@ -2631,7 +2631,7 @@ namespace AsbCloudDb.Migrations
|
||||
{
|
||||
Id = 532,
|
||||
Description = "Разрешение просматривать информацию о телеметрии",
|
||||
Name = "TelemetryInfo.get"
|
||||
Name = "Version.get"
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -165,7 +165,7 @@ namespace AsbCloudDb.Model.DefaultData
|
||||
new() { Id = 530, Name = "WellSectionPlan.edit", Description = "Разрешение на редактирование плановой конструкции скважины"},
|
||||
new() { Id = 531, Name = "WellSectionPlan.delete", Description = "Разрешение на удаление плановой конструкции скважины"},
|
||||
|
||||
new() { Id = 532, Name = "TelemetryInfo.get", Description = "Разрешение просматривать информацию о телеметрии"}
|
||||
new() { Id = 532, Name = "Version.get", Description = "Разрешение просматривать информацию о телеметрии"}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user