tweaked logging tests.

This commit is contained in:
kay.one 2013-03-26 21:03:02 -07:00
commit ccba527e89
4 changed files with 26 additions and 4 deletions

View file

@ -151,11 +151,11 @@ namespace NzbDrone.Core.Datastore.Migration
protected override void LogDbUpgrade()
{
Create.Table("Logs")
.WithColumn("LogId").AsInt64().PrimaryKey().Identity()
.WithColumn("Id").AsInt32().PrimaryKey().Identity()
.WithColumn("Message").AsString().NotNullable()
.WithColumn("Time").AsDateTime().NotNullable()
.WithColumn("Logger").AsString().NotNullable()
.WithColumn("Method").AsString().NotNullable()
.WithColumn("Method").AsString().Nullable()
.WithColumn("Exception").AsString().Nullable()
.WithColumn("ExceptionType").AsString().Nullable()
.WithColumn("Level").AsString().NotNullable();