29 lines
		
	
	
		
			776 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			776 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| #nullable disable
 | |
| 
 | |
| namespace DysonNetwork.Pass.Migrations
 | |
| {
 | |
|     /// <inheritdoc />
 | |
|     public partial class RemoveAuthClientIndex : Migration
 | |
|     {
 | |
|         /// <inheritdoc />
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.DropIndex(
 | |
|                 name: "ix_auth_clients_device_id",
 | |
|                 table: "auth_clients");
 | |
|         }
 | |
| 
 | |
|         /// <inheritdoc />
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.CreateIndex(
 | |
|                 name: "ix_auth_clients_device_id",
 | |
|                 table: "auth_clients",
 | |
|                 column: "device_id",
 | |
|                 unique: true);
 | |
|         }
 | |
|     }
 | |
| }
 |