30 lines
		
	
	
		
			764 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			764 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| #nullable disable
 | |
| 
 | |
| namespace MareSynchronosServer.Migrations
 | |
| {
 | |
|     /// <inheritdoc />
 | |
|     public partial class FileCacheSize : Migration
 | |
|     {
 | |
|         /// <inheritdoc />
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AddColumn<long>(
 | |
|                 name: "size",
 | |
|                 table: "file_caches",
 | |
|                 type: "bigint",
 | |
|                 nullable: false,
 | |
|                 defaultValue: 0L);
 | |
|         }
 | |
| 
 | |
|         /// <inheritdoc />
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.DropColumn(
 | |
|                 name: "size",
 | |
|                 table: "file_caches");
 | |
|         }
 | |
|     }
 | |
| }
 | 
