additional indizes and SongNumber Column
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace API.Models {
|
||||
public class Song {
|
||||
public int ID { get; set; }
|
||||
public long ID { get; set; }
|
||||
[Index(IsUnique = true)]
|
||||
public int Number { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string Comments { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user