mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	Added missing postgresql and mysql stondel migrations
This commit is contained in:
		
							
								
								
									
										3429
									
								
								src/NadekoBot/Migrations/MySql/20220428044612_stondel.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										3429
									
								
								src/NadekoBot/Migrations/MySql/20220428044612_stondel.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										26
									
								
								src/NadekoBot/Migrations/MySql/20220428044612_stondel.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								src/NadekoBot/Migrations/MySql/20220428044612_stondel.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
using Microsoft.EntityFrameworkCore.Migrations;
 | 
			
		||||
 | 
			
		||||
#nullable disable
 | 
			
		||||
 | 
			
		||||
namespace NadekoBot.Migrations.Mysql
 | 
			
		||||
{
 | 
			
		||||
    public partial class stondel : Migration
 | 
			
		||||
    {
 | 
			
		||||
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
			
		||||
        {
 | 
			
		||||
            migrationBuilder.AddColumn<bool>(
 | 
			
		||||
                name: "deletestreamonlinemessage",
 | 
			
		||||
                table: "guildconfigs",
 | 
			
		||||
                type: "tinyint(1)",
 | 
			
		||||
                nullable: false,
 | 
			
		||||
                defaultValue: false);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
			
		||||
        {
 | 
			
		||||
            migrationBuilder.DropColumn(
 | 
			
		||||
                name: "deletestreamonlinemessage",
 | 
			
		||||
                table: "guildconfigs");
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1032,6 +1032,10 @@ namespace NadekoBot.Migrations.Mysql
 | 
			
		||||
                        .HasColumnType("tinyint(1)")
 | 
			
		||||
                        .HasColumnName("deletemessageoncommand");
 | 
			
		||||
 | 
			
		||||
                    b.Property<bool>("DeleteStreamOnlineMessage")
 | 
			
		||||
                        .HasColumnType("tinyint(1)")
 | 
			
		||||
                        .HasColumnName("deletestreamonlinemessage");
 | 
			
		||||
 | 
			
		||||
                    b.Property<string>("DmGreetMessageText")
 | 
			
		||||
                        .HasColumnType("longtext")
 | 
			
		||||
                        .HasColumnName("dmgreetmessagetext");
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3569
									
								
								src/NadekoBot/Migrations/Postgresql/20220428044547_stondel.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										3569
									
								
								src/NadekoBot/Migrations/Postgresql/20220428044547_stondel.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
using Microsoft.EntityFrameworkCore.Migrations;
 | 
			
		||||
 | 
			
		||||
#nullable disable
 | 
			
		||||
 | 
			
		||||
namespace NadekoBot.Migrations.PostgreSql
 | 
			
		||||
{
 | 
			
		||||
    public partial class stondel : Migration
 | 
			
		||||
    {
 | 
			
		||||
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
			
		||||
        {
 | 
			
		||||
            migrationBuilder.AddColumn<bool>(
 | 
			
		||||
                name: "deletestreamonlinemessage",
 | 
			
		||||
                table: "guildconfigs",
 | 
			
		||||
                type: "boolean",
 | 
			
		||||
                nullable: false,
 | 
			
		||||
                defaultValue: false);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
			
		||||
        {
 | 
			
		||||
            migrationBuilder.DropColumn(
 | 
			
		||||
                name: "deletestreamonlinemessage",
 | 
			
		||||
                table: "guildconfigs");
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -1086,6 +1086,10 @@ namespace NadekoBot.Migrations.PostgreSql
 | 
			
		||||
                        .HasColumnType("boolean")
 | 
			
		||||
                        .HasColumnName("deletemessageoncommand");
 | 
			
		||||
 | 
			
		||||
                    b.Property<bool>("DeleteStreamOnlineMessage")
 | 
			
		||||
                        .HasColumnType("boolean")
 | 
			
		||||
                        .HasColumnName("deletestreamonlinemessage");
 | 
			
		||||
 | 
			
		||||
                    b.Property<string>("DmGreetMessageText")
 | 
			
		||||
                        .HasColumnType("text")
 | 
			
		||||
                        .HasColumnName("dmgreetmessagetext");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user