init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,63 @@
|
|||
using System.IO;
|
||||
using System.Reflection;
|
||||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170327110702)]
|
||||
public class Init : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
string assemblyDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
||||
|
||||
string baseDirectory = Path.Combine(assemblyDirectory, @"Scripts\Archive\20170327110702_Init\");
|
||||
|
||||
Execute.Script(Path.Combine(baseDirectory, "create.tables.mssql.sql"));
|
||||
Execute.Script(Path.Combine(baseDirectory, "create.indexes.mssql.sql"));
|
||||
Execute.Script(Path.Combine(baseDirectory, "alter.tables.mssql.sql"));
|
||||
Execute.Script(Path.Combine(baseDirectory, "create.views.advanced.sql"));
|
||||
|
||||
CreateGlobalStoredProcedures(baseDirectory);
|
||||
|
||||
CreateFunctions(baseDirectory);
|
||||
|
||||
CreateStoredProcedures(baseDirectory);
|
||||
|
||||
Execute.Script(Path.Combine(baseDirectory, "create.telepulesek.sql"));
|
||||
Execute.Script(Path.Combine(baseDirectory, "create.defaultdata.sql"));
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
|
||||
private void CreateGlobalStoredProcedures(string baseDirectory)
|
||||
{
|
||||
var storedProcedureFiles = Directory.GetFiles(baseDirectory, "sp_Global_*.sql", SearchOption.TopDirectoryOnly);
|
||||
foreach (var storedProcedureFile in storedProcedureFiles)
|
||||
{
|
||||
Execute.Script(storedProcedureFile);
|
||||
}
|
||||
}
|
||||
|
||||
private void CreateFunctions(string baseDirectory)
|
||||
{
|
||||
var functionFiles = Directory.GetFiles(Path.Combine(baseDirectory, "Functions"), "*.sql", SearchOption.AllDirectories);
|
||||
foreach (var functionFile in functionFiles)
|
||||
{
|
||||
Execute.Script(functionFile);
|
||||
}
|
||||
}
|
||||
|
||||
private void CreateStoredProcedures(string baseDirectory)
|
||||
{
|
||||
var storedProcedureFiles = Directory.GetFiles(Path.Combine(baseDirectory, "Stored procedures"), "*.sql", SearchOption.AllDirectories);
|
||||
foreach (var storedProcedureFile in storedProcedureFiles)
|
||||
{
|
||||
Execute.Script(storedProcedureFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170328113907)]
|
||||
public class KRETA_459 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNemKotottMunkaidoReszletezo.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetNemKotottMunkaidoReszletezo");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170328114053)]
|
||||
public class KRETA_569 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_JelszoResetGondviselo.sql", "sp_JelszoResetTanulo.sql", "sp_HozzaferesGeneralas.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_JelszoResetGondviselo", "sp_JelszoResetTanulo", "sp_HozzaferesGeneralas");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170329120432)]
|
||||
public class KRETA_728 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_728_CreateColumn.sql", "KRETA_728_DropIndex.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170331131218)]
|
||||
public class KRETA_752 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_752_CreateColumn.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170331170049)]
|
||||
public class KRETA_708 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNapKotottMunkaidoAdmin.sql", "sp_GetNemKotottMunkaIdo.sql", "sp_GetNemKotottMunkaIdoAdmin.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetNapokKotottMunkaidoAdmin", "sp_GetNemKotottMunkaIdo", "sp_GetNemKotottMunkaIdoAdmin");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170404150844)]
|
||||
public class KRETA_705 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOrarend.sql", "sp_GetHelyettesitesekOrarend.sql", "sp_GetOrarendTanoranKivuli.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOrarend", "sp_GetHelyettesitesekOrarend", "sp_GetOrarendTanoranKivuli");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170405130927)]
|
||||
public class KRETA_756_770 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("create_columns.sql");
|
||||
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "dictionaryitems_frissites.sql");
|
||||
|
||||
ExecuteScripts("sp_CheckNebulo4TValidation.sql", "sp_NebuloImport.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_CheckNebulo4TValidation", "sp_NebuloImport");
|
||||
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170405150148)]
|
||||
public class KRETA_288 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_ImportASC.sql");
|
||||
CreateSchemaStoredProcedures("sp_ImportASC");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170405150351)]
|
||||
public class KRETA_708_fix : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
CreateSchemaStoredProcedures("sp_GetNapKotottMunkaidoAdmin");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170405150827)]
|
||||
public class KRETA_141 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetErtesitoNyomtatvany.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetErtesitoNyomtatvany");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170405151208)]
|
||||
public class KRETA_791 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_CheckNebulo4TValidation.sql", "sp_CheckOktatasiAzonositoUtkozesValidation.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_CheckNebulo4TValidation", "sp_CheckOktatasiAzonositoUtkozesValidation");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170406123753)]
|
||||
public class KRETA_600 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_600.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170406125715)]
|
||||
public class KRETA_681 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_681.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170406133946)]
|
||||
public class KRETA_798 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_798.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170406152713)]
|
||||
public class KRETA_176 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_176.sql", "sp_Global_CreateDictionaryItems.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170406154403)]
|
||||
public class KRETA_689 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("create_table.sql", "create_columns.sql", "add_new_schema_views.sql", "sp_Global_CreateSchemaViews.sql");
|
||||
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "dictionaryitems_frissites.sql");
|
||||
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170407110451)]
|
||||
public class KRETA_820 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOsztalyNaplo.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOsztalyNaplo");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170407115214)]
|
||||
public class KRETA_459_1 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNemKotottMunkaidoReszletezo.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetNemKotottMunkaidoReszletezo");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170407141658)]
|
||||
public class KRETA_689_2 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_689_2.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170407144629)]
|
||||
public class KRETA_569_fix : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetHozzatartozoJelszoAdatok.sql", "sp_GetTanuloJelszoAdatok.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetHozzatartozoJelszoAdatok", "sp_GetTanuloJelszoAdatok");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170408175040)]
|
||||
public class KRETA_459_2 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNemKotottMunkaidoReszletezo.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetNemKotottMunkaidoReszletezo");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170410081913)]
|
||||
public class KRETA_682 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNebuloList.sql", "sp_GetNebuloListByIdList.sql", "sp_SetBeiratkozasVeglegesites.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetNebuloList", "sp_GetNebuloListByIdList", "sp_SetBeiratkozasVeglegesites");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170410121617)]
|
||||
public class KRETA_569_fix2 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetTanuloJelszoAdatok.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetTanuloJelszoAdatok");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170410142618)]
|
||||
public class KRETA_867 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_867.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170410183801)]
|
||||
public class KRETA_705_2 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOrarend.sql", "sp_GetHelyettesitesekOrarend.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOrarend", "sp_GetHelyettesitesekOrarend");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170411143824)]
|
||||
public class KRETA_897 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("fnGetUtkozesByOsztalycsoport.sql", "fnGetUtkozesByTanar.sql");
|
||||
CreateSchemaFunctions("fnGetUtkozesByOsztalycsoport", "fnGetUtkozesByTanar");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170411183133)]
|
||||
public class KRETA_898 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "dictionaryitems_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170412095324)]
|
||||
public class KRETA_856 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"sp_GenerateErtekelesekMagatartasSzorgalomTempTabla.sql",
|
||||
"sp_GenerateErtekelesekTempTabla.sql",
|
||||
"sp_GenerateErtekelesekTempTablaByFoglalkozas.sql",
|
||||
"sp_GenerateErtekelesekTempTablaByTanulo.sql",
|
||||
"sp_GetErtekelesTanuloReszletek.sql");
|
||||
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GenerateErtekelesekMagatartasSzorgalomTempTabla",
|
||||
"sp_GenerateErtekelesekTempTabla",
|
||||
"sp_GenerateErtekelesekTempTablaByFoglalkozas",
|
||||
"sp_GenerateErtekelesekTempTablaByTanulo",
|
||||
"sp_GetErtekelesTanuloReszletek");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170412112836)]
|
||||
public class KRETA_698 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("fnGetUtkozesByTanar.sql", "fnGetUtkozesByOsztalycsoport.sql");
|
||||
CreateSchemaFunctions("fnGetUtkozesByTanar", "fnGetUtkozesByOsztalycsoport");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170412123918)]
|
||||
public class KRETA_900 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "sp_Global_SetSystemSettingsDefaultData.sql");
|
||||
ExecuteScripts("dictionaryitems_frissites.sql", "rendszerbeallitas_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170412143630)]
|
||||
public class KRETA_902 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_902.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170412172852)]
|
||||
public class KRETA_903 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOsztalyNaplo.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOsztalyNaplo");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170412200314)]
|
||||
public class KRETA_905 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("AddColumnsToFeladatellatasiHelyTable.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170412223556)]
|
||||
public class KRETA_866 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"sp_GetErtesitendoNebuloList.sql",
|
||||
"sp_GetNebuloErtesito.sql",
|
||||
"sp_GetNebuloErtesitoStatusz.sql",
|
||||
"sp_UpdateErtesitesiDatum.sql");
|
||||
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GetErtesitendoNebuloList",
|
||||
"sp_GetNebuloErtesito",
|
||||
"sp_GetNebuloErtesitoStatusz",
|
||||
"sp_UpdateErtesitesiDatum");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170418101346)]
|
||||
public class KRETA_926 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOrarend.sql", "sp_GetOrarendOsztalyonkent.sql", "sp_GetOrarendTanoranKivuli.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetOrarend", "sp_GetOrarendOsztalyonkent", "sp_GetOrarendTanoranKivuli");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170418130205)]
|
||||
public class KRETA_569_fix3 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetHozzatartozoJelszoAdatok.sql", "sp_GetTanuloJelszoAdatok.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetHozzatartozoJelszoAdatok", "sp_GetTanuloJelszoAdatok");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170418155736)]
|
||||
public class KRETA_945 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_NebuloImport.sql");
|
||||
CreateSchemaStoredProcedures("sp_NebuloImport");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170418174331)]
|
||||
public class KRETA_705_fix : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetHelyettesitesekOrarend.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetHelyettesitesekOrarend");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170419134110)]
|
||||
public class KRETA_358 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNemMegtartottOrakSzamaByHet.sql", "sp_GetNemMegtartottOrakSzamaPerHet.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetNemMegtartottOrakSzamaByHet", "sp_GetNemMegtartottOrakSzamaPerHet");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170419142350)]
|
||||
public class KRETA_803 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetErtekelesReszletek.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetErtekelesReszletek");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170420011159)]
|
||||
public class KRETA_962 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_MrgNebulo.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170420212747)]
|
||||
public class KRETA_965 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GenerateNaptariNapok.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GenerateNaptariNapok");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170421140144)]
|
||||
public class KRETA_988 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_CheckNebulo4TValidation.sql", "sp_CheckOktatasiAzonositoUtkozesValidation.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_CheckNebulo4TValidation", "sp_CheckOktatasiAzonositoUtkozesValidation");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170424111507)]
|
||||
public class KRETA_1004 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"sp_GenerateErtekelesekMagatartasSzorgalomTempTabla.sql",
|
||||
"sp_GenerateErtekelesekTempTabla.sql",
|
||||
"sp_GenerateErtekelesekTempTablaByFoglalkozas.sql",
|
||||
"sp_GenerateErtekelesekTempTablaByTanulo.sql"
|
||||
);
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GenerateErtekelesekMagatartasSzorgalomTempTabla",
|
||||
"sp_GenerateErtekelesekTempTabla",
|
||||
"sp_GenerateErtekelesekTempTablaByFoglalkozas",
|
||||
"sp_GenerateErtekelesekTempTablaByTanulo"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170424121839)]
|
||||
public class KRETA_1010 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("stageNebulo_TableUpdate.sql", "sp_MrgNebulo.sql", "fnGetNebulo.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170424145710)]
|
||||
public class KRETA_995 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetStatPedagogusTanuloinakTantargyiMulasztasaiMegtartott.sql", "sp_GetStatTanuloTantargyiMulasztasMegtartott.sql");
|
||||
|
||||
CreateSchemaFunctions("sp_GetStatPedagogusTanuloinakTantargyiMulasztasaiMegtartott", "sp_GetStatTanuloTantargyiMulasztasMegtartott");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170424163240)]
|
||||
public class KRETA_324 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika.sql");
|
||||
CreateSchemaStoredProcedures("sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170425121516)]
|
||||
public class KRETA_927 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOrarend.sql", "sp_GetOrarendTanoranKivuli.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOrarend", "sp_GetOrarendTanoranKivuli");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170425134431)]
|
||||
public class KRETA_963 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"sp_GetDokumentumErtekelesek.sql",
|
||||
"sp_GetDokumentumMulasztasok.sql",
|
||||
"sp_GetDokumentumTanuloEvesOraszamai.sql",
|
||||
"sp_GetDokumentumTanuloNaploSorszam.sql",
|
||||
"sp_GetErtesitoNyomtatvany.sql",
|
||||
"sp_GetOsztalyNaplo.sql",
|
||||
"sp_GetTorzslap.sql"
|
||||
);
|
||||
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GetDokumentumErtekelesek",
|
||||
"sp_GetDokumentumMulasztasok",
|
||||
"sp_GetDokumentumTanuloEvesOraszamai",
|
||||
"sp_GetDokumentumTanuloNaploSorszam",
|
||||
"sp_GetErtesitoNyomtatvany",
|
||||
"sp_GetOsztalyNaplo",
|
||||
"sp_GetTorzslap"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170426114538)]
|
||||
public class Kreta_1025 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetErtesitesAltEsMulAdatok.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetErtesitesAltEsMulAdatok");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170426160548)]
|
||||
public class KRETA_695 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("AddColumnsToTanuloEsemenyTable.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170427133116)]
|
||||
public class KRETA_1039 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateSchema.sql",
|
||||
"sp_Global_CreateSchemaViews.sql",
|
||||
"sp_Global_GenerateTanevAdatok.sql",
|
||||
"sp_Global_IntezmenyLetrehozas.sql");
|
||||
|
||||
DeleteStoredProcedures("sp_GetAllRoleFunctions");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170428092126)]
|
||||
public class KRETA_745 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "sp_Global_SetSystemSettingsDefaultData.sql");
|
||||
ExecuteScripts("dictionaryitems_frissites.sql", "rendszerbeallitas_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170428103502)]
|
||||
public class KRETA_1027 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"sp_GenerateErtekelesekMagatartasSzorgalomTempTabla.sql",
|
||||
"sp_GenerateErtekelesekTempTabla.sql",
|
||||
"sp_GenerateErtekelesekTempTablaByFoglalkozas.sql",
|
||||
"sp_GenerateErtekelesekTempTablaByTanulo.sql"
|
||||
);
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GenerateErtekelesekMagatartasSzorgalomTempTabla",
|
||||
"sp_GenerateErtekelesekTempTabla",
|
||||
"sp_GenerateErtekelesekTempTablaByFoglalkozas",
|
||||
"sp_GenerateErtekelesekTempTablaByTanulo"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170430124638)]
|
||||
public class KRETA_956 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNemKotottMunkaIdoAdmin.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetNemKotottMunkaIdoAdmin");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170430180559)]
|
||||
public class KRETA_1025_1 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetDokumentumMulasztasok.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetDokumentumMulasztasok");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170430181342)]
|
||||
public class KRETA_963_1 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetDokumentumErtekelesek.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetDokumentumErtekelesek");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170501170737)]
|
||||
public class KRETA_1075 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOsztalyNaplo.sql", "sp_GetDokumentumTanuloNaploSorszam.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOsztalyNaplo", "sp_GetDokumentumTanuloNaploSorszam");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170502093031)]
|
||||
public class KRETA_1025_2 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetErtesitesAltEsMulAdatok.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetErtesitesAltEsMulAdatok");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170502112649)]
|
||||
public class KRETA_1058 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNemKotottMunkaIdoDateByInsert.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetNemKotottMunkaIdoDateByInsert");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170502113735)]
|
||||
public class KRETA_995_1 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetStatPedagogusTanuloinakTantargyiMulasztasaiMegtartott.sql", "sp_GetStatTanuloTantargyiMulasztasMegtartott.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetStatPedagogusTanuloinakTantargyiMulasztasaiMegtartott", "sp_GetStatTanuloTantargyiMulasztasMegtartott");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170502114848)]
|
||||
public class KRETA_1063 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql");
|
||||
ExecuteScripts("KRETA_1063.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170502141026)]
|
||||
public class KRETA_139 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"fnGetDokumentumOsztalyokTanevenkent.sql",
|
||||
"fnGetDokumentumOsztalyokTanuloi.sql",
|
||||
"fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet.sql",
|
||||
"sp_GetDokumentumErtekelesek.sql",
|
||||
"sp_GetDokumentumMulasztasok.sql",
|
||||
"sp_GetErtesitoNyomtatvany.sql",
|
||||
"sp_GetNaplobaNemBejegyzettFoglalkozasok.sql",
|
||||
"sp_GetOsztalyokEvesOraszama.sql",
|
||||
"sp_GetTorzslap.sql"
|
||||
);
|
||||
|
||||
CreateSchemaFunctions(
|
||||
"fnGetDokumentumOsztalyokTanevenkent",
|
||||
"fnGetDokumentumOsztalyokTanuloi",
|
||||
"fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet"
|
||||
);
|
||||
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GetDokumentumErtekelesek",
|
||||
"sp_GetDokumentumMulasztasok",
|
||||
"sp_GetErtesitoNyomtatvany",
|
||||
"sp_GetNaplobaNemBejegyzettFoglalkozasok",
|
||||
"sp_GetOsztalyokEvesOraszama",
|
||||
"sp_GetTorzslap"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170502161552)]
|
||||
public class KRETA_990 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "sp_Global_SetSystemSettingsDefaultData.sql");
|
||||
ExecuteScripts("dictionaryitems_frissites.sql", "rendszerbeallitas_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170502231535)]
|
||||
public class KRETA_1097 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOsztalyNaplo.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOsztalyNaplo");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170503094236)]
|
||||
public class KRETA_1096 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_MrgDictionaryItemBase.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170503114150)]
|
||||
public class KRETA_1103 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetMunkaidoElszamoloLap.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetMunkaidoElszamoloLap");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170503123841)]
|
||||
public class KRETA_1106 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("AlterTableRendszerbeallitas.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170503130258)]
|
||||
public class KRETA_1068 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika.sql");
|
||||
CreateSchemaStoredProcedures("sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170503131930)]
|
||||
public class KRETA_1095 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("AlterTableOsztalyCsoport.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170503153535)]
|
||||
public class KRETA_1112 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOsztalyNaplo.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOsztalyNaplo");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170503162643)]
|
||||
public class KRETA_904 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "sp_Global_SetSystemSettingsDefaultData.sql");
|
||||
ExecuteScripts("dictionaryitems_frissites.sql", "rendszerbeallitas_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170503170822)]
|
||||
public class KRETA_1008_1038_1045_1067 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("KRETA_1008_1038_1045_1067.sql", "sp_Global_CreateDictionaryItems.sql", "dictionaryitems_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170504000441)]
|
||||
public class KRETA_1085 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"CreateTables.sql",
|
||||
"CreateViews.sql",
|
||||
"AddColumns.sql",
|
||||
"sp_Global_CreateSchemaViews.sql"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170504091129)]
|
||||
public class KRETA_1112_1 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOsztalyNaplo.sql", "sp_GetDokumentumErtekelesek.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOsztalyNaplo", "sp_GetDokumentumErtekelesek");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170504102549)]
|
||||
public class KRETA_1118 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOrarend.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetOrarend");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170504105306)]
|
||||
public class KRETA_1120 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"sp_GetErtekelesReszletek.sql",
|
||||
"sp_GetMagatartasSzorgalomErtekelesReszletek.sql",
|
||||
"sp_GetTanuloJegyei.sql",
|
||||
"sp_GetTanuloJegyeiHaviBontasban.sql",
|
||||
"sp_GetTanuloJegyeiMagatartasSzorgalom.sql",
|
||||
"sp_GetTanuloJegyeiMagatartasSzorgalomHaviBontasban.sql"
|
||||
);
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GetErtekelesReszletek",
|
||||
"sp_GetMagatartasSzorgalomErtekelesReszletek",
|
||||
"sp_GetTanuloJegyei",
|
||||
"sp_GetTanuloJegyeiHaviBontasban",
|
||||
"sp_GetTanuloJegyeiMagatartasSzorgalom",
|
||||
"sp_GetTanuloJegyeiMagatartasSzorgalomHaviBontasban"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170504165209)]
|
||||
public class KRETA_1124 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"sp_GetOraEvesSorszama.sql",
|
||||
"sp_GetOraEvesSorszamaLista.sql"
|
||||
);
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GetOraEvesSorszama",
|
||||
"sp_GetOraEvesSorszamaLista"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170504173904)]
|
||||
public class KRETA_1034 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "sp_Global_SetSystemSettingsDefaultData.sql");
|
||||
ExecuteScripts("dictionaryitems_frissites.sql", "rendszerbeallitas_frissites.sql");
|
||||
|
||||
ExecuteScripts("sp_GetNaplozasMulasztasList.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetNaplozasMulasztasList");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170505121113)]
|
||||
public class KRETA_695_2 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"PreUpdate.sql",
|
||||
"Update.sql",
|
||||
"CreateViews.sql",
|
||||
"sp_Global_CreateSchemaViews.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170505123956)]
|
||||
public class KRETA_1129 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet.sql");
|
||||
|
||||
CreateSchemaFunctions("fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170505154512)]
|
||||
public class KRETA_786 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_HozzaferesGeneralas.sql", "sp_JelszoResetGondviselo.sql", "sp_JelszoResetTanulo.sql");
|
||||
CreateSchemaStoredProcedures("sp_HozzaferesGeneralas", "sp_JelszoResetGondviselo", "sp_JelszoResetTanulo");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170505172139)]
|
||||
public class KRETA_1134 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"sp_Global_CreateTanevRendje20172018.sql",
|
||||
"sp_Global_GenerateTanevAdatok.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170507191750)]
|
||||
public class KRETA_1137 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetOsztalyNaplo.sql",
|
||||
"sp_GetOrarendOsztalyonkent.sql",
|
||||
"sp_GetDokumentumTanuloNaploSorszam.sql",
|
||||
"sp_GetPedagogusOrarend.sql",
|
||||
"fnGetDokumentumOsztalyVagyTanoraiCsoport.sql"
|
||||
);
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetOsztalyNaplo",
|
||||
"sp_GetOrarendOsztalyonkent",
|
||||
"sp_GetDokumentumTanuloNaploSorszam",
|
||||
"sp_GetPedagogusOrarend"
|
||||
);
|
||||
|
||||
CreateSchemaFunctions("fnGetDokumentumOsztalyVagyTanoraiCsoport");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170508102845)]
|
||||
public class KRETA_1179 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet.sql");
|
||||
|
||||
CreateSchemaFunctions("fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170508124854)]
|
||||
public class KRETA_1133 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
DeleteStoredProcedures("sp_ESLAdatgyujtes",
|
||||
"sp_GetEvvegiErtesito",
|
||||
"sp_GetFeleviErtesito",
|
||||
"sp_GetHarmadikNegyedeviErtesito",
|
||||
"sp_GetNegyedeviErtesito",
|
||||
"sp_GetNegyedikNegyedeviErtesito",
|
||||
"sp_GetPedagogusOrarendje",
|
||||
"sp_GetMasodikNegyedeviErtesito",
|
||||
"sp_GetDokumentumTanuloEvesOraszamai"
|
||||
);
|
||||
|
||||
DeleteFunctions(
|
||||
"fnGetDokumentumOsztalyokTanuloi"
|
||||
);
|
||||
|
||||
ExecuteScripts(
|
||||
"fnGetDokumentumOsztalyokCsoportokTanuloi.sql",
|
||||
"fnGetDokumentumTanulokOsztalybanToltottNapjai.sql",
|
||||
"fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet.sql",
|
||||
"fnGetDokumentumMulasztasokOsztalyonkentReszletes.sql",
|
||||
"fnGetDokumentumTanulokFeljegyzesei.sql",
|
||||
"sp_GetTanulokFeljegyzesekReszletezese.sql",
|
||||
"sp_GetErtesitoNyomtatvany.sql",
|
||||
"sp_GetNapkozisNaplo.sql",
|
||||
"sp_GetDokumentumErtekelesek.sql",
|
||||
"sp_GetDokumentumMulasztasok.sql",
|
||||
"sp_GetTorzslap.sql",
|
||||
"sp_GetOsztalyNaplo.sql",
|
||||
"sp_GetCsoportNaplo.sql",
|
||||
"sp_GetTanoranKivuliNaplo.sql",
|
||||
"sp_GetSzakmaiGyNaplo.sql"
|
||||
);
|
||||
|
||||
CreateSchemaFunctions(
|
||||
"fnGetDokumentumOsztalyokCsoportokTanuloi",
|
||||
"fnGetDokumentumTanulokFeljegyzesei",
|
||||
"fnGetDokumentumTanulokOsztalybanToltottNapjai",
|
||||
"fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet",
|
||||
"fnGetDokumentumMulasztasokOsztalyonkentReszletes"
|
||||
);
|
||||
|
||||
CreateSchemaStoredProcedures(
|
||||
"sp_GetTanulokFeljegyzesekReszletezese",
|
||||
"sp_GetErtesitoNyomtatvany",
|
||||
"sp_GetNapkozisNaplo",
|
||||
"sp_GetDokumentumErtekelesek",
|
||||
"sp_GetDokumentumMulasztasok",
|
||||
"sp_GetTorzslap",
|
||||
"sp_GetOsztalyNaplo",
|
||||
"sp_GetCsoportNaplo",
|
||||
"sp_GetTanoranKivuliNaplo",
|
||||
"sp_GetSzakmaiGyNaplo"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170508140112)]
|
||||
public class KRETA_1128 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetElozoOraAdatai.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetElozoOraAdatai");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170509092219)]
|
||||
public class KRETA_1145_1132 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql");
|
||||
ExecuteScripts("dictionaryitems_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170509135416)]
|
||||
public class KRETA_1155 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetMunkaidoElszamoloLap.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetMunkaidoElszamoloLap");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170509162609)]
|
||||
public class KRETA_1074 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "dictionaryitems_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170510082610)]
|
||||
public class KRETA_1034_2 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNaplozasMulasztasList.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetNaplozasMulasztasList");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170510123113)]
|
||||
public class KRETA_1176 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("CreateTable.sql",
|
||||
"CreateView.sql",
|
||||
"sp_Global_CreateSchemaViews.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170510141502)]
|
||||
public class KRETA_1146 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts(
|
||||
"PreUpdate.sql",
|
||||
"Update.sql",
|
||||
"sp_Global_CreateDictionaryItems.sql"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170510141935)]
|
||||
public class KRETA_1071 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("AddColumns.sql",
|
||||
"UpdateMunkaviszonyTipusDictionaries.sql",
|
||||
"sp_Global_CreateDictionaryItems.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170510150204)]
|
||||
public class KRETA_1159 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNemMegtartottOrakSzamaByHet.sql", "sp_GetNemMegtartottOrakSzamaPerHet.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetNemMegtartottOrakSzamaByHet", "sp_GetNemMegtartottOrakSzamaPerHet");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170511102136)]
|
||||
public class KRETA_1086 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_UpdateOsztalyTanuloiSzakkepzesesAdatok.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_UpdateOsztalyTanuloiSzakkepzesesAdatok");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170511104206)]
|
||||
public class KRETA_1132 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_Global_CreateDictionaryItems.sql", "dictionaryitems_frissites.sql");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170511114407)]
|
||||
public class KRETA_1034_3 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNaplozasMulasztasList.sql");
|
||||
CreateSchemaStoredProcedures("sp_GetNaplozasMulasztasList");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20170511143153)]
|
||||
public class KRETA_1180 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
ExecuteScripts("sp_GetNaplobaNemBejegyzettFoglalkozasok.sql", "sp_PedagogusNemBejegyzettOrai.sql");
|
||||
|
||||
CreateSchemaStoredProcedures("sp_GetNaplobaNemBejegyzettFoglalkozasok", "sp_PedagogusNemBejegyzettOrai");
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue