19 lines
446 B
C#
19 lines
446 B
C#
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)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|