36 lines
1008 B
C#
36 lines
1008 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace ReallifeGamemode.Database.Migrations
|
|
{
|
|
public partial class WeaponDealTimer : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "WeaponDealTime",
|
|
table: "Factions",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "PaydayTimer",
|
|
table: "Users",
|
|
nullable: false,
|
|
defaultValue: 60);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "WeaponDealTime",
|
|
table: "Factions");
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "PaydayTimer",
|
|
table: "Users",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
}
|
|
}
|
|
}
|