additional indizes and SongNumber Column

This commit is contained in:
2019-03-17 21:23:41 +01:00
parent e115301ea2
commit 4f06467469
11 changed files with 266 additions and 5 deletions

View File

@@ -1,8 +1,10 @@
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace API.Models {
public class File {
public int ID { get; set; }
public long ID { get; set; }
[Index(IsUnique = true)]
public Guid ReferenceFile { get; set; }
public string Name { get; set; }
public FileType FileType { get; set; }