This commit is contained in:
@@ -255,25 +255,7 @@ namespace AyaNova.Util
|
||||
setSchemaLevel(++currentSchema);
|
||||
}
|
||||
|
||||
|
||||
// //////////////////////////////////////////////////
|
||||
// //LICENSE table new columns
|
||||
// //LOOKAT: DO I need this anymore???
|
||||
// //answer: no because it relates to ops stuff in other tables and logging, not to the license itself (except maybe dbid?)
|
||||
// if (currentSchema < 7)
|
||||
// {
|
||||
// LogUpdateMessage(log);
|
||||
|
||||
// //Add license related stuff
|
||||
// exec("ALTER TABLE alicense ADD COLUMN dbid uuid");
|
||||
// exec("ALTER TABLE alicense ADD COLUMN LastFetchStatus integer");
|
||||
// exec("ALTER TABLE alicense ADD COLUMN LastFetchMessage text");
|
||||
|
||||
// setSchemaLevel(++currentSchema);
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
//DATAFILTER table
|
||||
if (currentSchema < 7)
|
||||
|
||||
@@ -430,10 +430,8 @@ namespace AyaNova.Core
|
||||
if (ldb == null)
|
||||
{
|
||||
ldb = new Models.License();
|
||||
ldb.DbId = Guid.NewGuid();
|
||||
//ldb.LastFetchStatus = 0;
|
||||
ldb.DbId = Guid.NewGuid();
|
||||
ldb.Key = "none";
|
||||
//ldb.LastFetchMessage = "none";
|
||||
ctx.License.Add(ldb);
|
||||
ctx.SaveChanges();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user