using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace JobsMedical.Web.Migrations
{
///
public partial class SocialPosting : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "InstagramHashtags",
table: "AppSettings",
type: "character varying(1000)",
maxLength: 1000,
nullable: true);
migrationBuilder.AddColumn(
name: "SocialBaleBotToken",
table: "AppSettings",
type: "character varying(200)",
maxLength: 200,
nullable: true);
migrationBuilder.AddColumn(
name: "SocialBaleChatId",
table: "AppSettings",
type: "character varying(120)",
maxLength: 120,
nullable: true);
migrationBuilder.AddColumn(
name: "SocialBaleEnabled",
table: "AppSettings",
type: "boolean",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn(
name: "SocialEnabled",
table: "AppSettings",
type: "boolean",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn(
name: "SocialFooter",
table: "AppSettings",
type: "character varying(1000)",
maxLength: 1000,
nullable: true);
migrationBuilder.AddColumn(
name: "SocialHeader",
table: "AppSettings",
type: "character varying(1000)",
maxLength: 1000,
nullable: true);
migrationBuilder.AddColumn(
name: "SocialInstagramEnabled",
table: "AppSettings",
type: "boolean",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn(
name: "SocialLastPostedAt",
table: "AppSettings",
type: "timestamp with time zone",
nullable: true);
migrationBuilder.AddColumn(
name: "SocialPostsPerDay",
table: "AppSettings",
type: "integer",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn(
name: "SocialTelegramBotToken",
table: "AppSettings",
type: "character varying(200)",
maxLength: 200,
nullable: true);
migrationBuilder.AddColumn(
name: "SocialTelegramChatId",
table: "AppSettings",
type: "character varying(120)",
maxLength: 120,
nullable: true);
migrationBuilder.AddColumn(
name: "SocialTelegramEnabled",
table: "AppSettings",
type: "boolean",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn(
name: "SocialUseProxy",
table: "AppSettings",
type: "boolean",
nullable: false,
defaultValue: false);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "InstagramHashtags",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialBaleBotToken",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialBaleChatId",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialBaleEnabled",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialEnabled",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialFooter",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialHeader",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialInstagramEnabled",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialLastPostedAt",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialPostsPerDay",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialTelegramBotToken",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialTelegramChatId",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialTelegramEnabled",
table: "AppSettings");
migrationBuilder.DropColumn(
name: "SocialUseProxy",
table: "AppSettings");
}
}
}