 bff21ead95
			
		
	
	bff21ead95
	
	
	
		
			
			* some groups stuff * further groups rework * fixes for pause changes * adjsut timeout interval * fixes and namespace change to file scoped * more fixes * further implement groups * fix change group ownership * add some more stuff for groups * more fixes and additions * some fixes based on analyzers, add shard info to ui * add discord command, cleanup * fix regex * add group migration and deletion on user deletion * add api method for client to check health of connection * adjust regex for vanity * fixes for server and bot * fixes some string comparison in linq queries * fixes group leave and sets alias to null * fix syntax in changeownership * add better logging, fixes for group leaving * fixes for group leave Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| #nullable disable
 | |
| 
 | |
| namespace MareSynchronosServer.Migrations
 | |
| {
 | |
|     public partial class AddNullableLodestoneAuthProperties : Migration
 | |
|     {
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AlterColumn<DateTime>(
 | |
|                 name: "started_at",
 | |
|                 table: "lodestone_auth",
 | |
|                 type: "timestamp with time zone",
 | |
|                 nullable: true,
 | |
|                 oldClrType: typeof(DateTime),
 | |
|                 oldType: "timestamp with time zone");
 | |
|         }
 | |
| 
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AlterColumn<DateTime>(
 | |
|                 name: "started_at",
 | |
|                 table: "lodestone_auth",
 | |
|                 type: "timestamp with time zone",
 | |
|                 nullable: false,
 | |
|                 defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 | |
|                 oldClrType: typeof(DateTime),
 | |
|                 oldType: "timestamp with time zone",
 | |
|                 oldNullable: true);
 | |
|         }
 | |
|     }
 | |
| }
 |