riot nicht abschließen
This commit is contained in:
2229
ReallifeGamemode.Database/Migrations/20210601205501_LockRiot.Designer.cs
generated
Normal file
2229
ReallifeGamemode.Database/Migrations/20210601205501_LockRiot.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
using GTANetworkAPI;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ReallifeGamemode.Database.Migrations
|
||||
{
|
||||
public partial class LockRiot : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.Sql("UPDATE ServerVehicles SET Locked = '0' WHERE Model = " + (uint)VehicleHash.Riot);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user