2019-01-13 00:06:55 +01:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Linq;
|
2021-11-14 05:28:24 +01:00
|
|
|
|
using System.Text;
|
2019-01-13 00:06:55 +01:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Teknik.Areas.Paste;
|
|
|
|
|
using Teknik.Areas.Paste.Models;
|
|
|
|
|
using Teknik.Configuration;
|
|
|
|
|
using Teknik.Data;
|
2021-11-14 05:28:24 +01:00
|
|
|
|
using Teknik.StorageService;
|
2019-01-13 00:06:55 +01:00
|
|
|
|
using Teknik.Utilities;
|
2021-11-14 05:28:24 +01:00
|
|
|
|
using Teknik.Utilities.Cryptography;
|
2019-01-13 00:06:55 +01:00
|
|
|
|
|
|
|
|
|
namespace Teknik.ServiceWorker
|
|
|
|
|
{
|
|
|
|
|
public static class TeknikMigration
|
|
|
|
|
{
|
|
|
|
|
public static bool RunMigration(TeknikEntities db, Config config)
|
|
|
|
|
{
|
|
|
|
|
bool success = false;
|
2021-11-14 05:28:24 +01:00
|
|
|
|
|
2019-01-13 00:06:55 +01:00
|
|
|
|
|
|
|
|
|
return success;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|