Change the new columns type

This commit is contained in:
tidusjar 2016-04-01 22:17:15 +01:00
commit 420e43dfaf
6 changed files with 6 additions and 6 deletions

View file

@ -34,5 +34,6 @@ namespace PlexRequests.Store.Models
public int ProviderId { get; set; }
public byte[] Content { get; set; }
public RequestType Type { get; set; }
public string MusicId { get; set; }
}
}

View file

@ -1,6 +1,4 @@
using System;
using System.Security.Cryptography;
using Dapper.Contrib.Extensions;
using System.Collections.Generic;
using System.Linq;

View file

@ -25,7 +25,8 @@ CREATE TABLE IF NOT EXISTS RequestBlobs
Id INTEGER PRIMARY KEY AUTOINCREMENT,
ProviderId INTEGER NOT NULL,
Type INTEGER NOT NULL,
Content BLOB NOT NULL
Content BLOB NOT NULL,
MusicId TEXT
);
CREATE UNIQUE INDEX IF NOT EXISTS RequestBlobs_Id ON RequestBlobs (Id);