29 lines
828 B
C#
29 lines
828 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace YTManager.Migrations
|
|||
|
{
|
|||
|
public partial class Madetagsrequired : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AlterColumn<string[]>(
|
|||
|
name: "UserTags",
|
|||
|
table: "Channels",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(List<string>),
|
|||
|
oldNullable: true);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AlterColumn<List<string>>(
|
|||
|
name: "UserTags",
|
|||
|
table: "Channels",
|
|||
|
nullable: true,
|
|||
|
oldClrType: typeof(string[]));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|