48 lines
1.7 KiB
C#
48 lines
1.7 KiB
C#
using FluentMigrator;
|
|
|
|
namespace Kreta.DataAccess.Migrations.Migrations
|
|
{
|
|
[Migration(20180302161336)]
|
|
public class KRETA_5148 : CustomMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
ExecuteScripts(
|
|
"fnGetTanuloTantargyMulasztasMegtartottOra.sql",
|
|
"fnGetTanuloTantargyMulasztasOsszesOra.sql",
|
|
"sp_GetDokumentumMulasztasok.sql",
|
|
"sp_GetErtesitesAltEsMulAdatok.sql",
|
|
"sp_GetErtesitoNyomtatvany.sql",
|
|
"sp_GetNaplozasMulasztasList.sql",
|
|
"sp_GetOsztalyNaplo.sql",
|
|
"sp_GetTanulokMulasztasaiKesesei.sql",
|
|
"sp_GetTorzslap.sql",
|
|
"sp_Nyomtatvany_Excel_IdoszakiOsztalyokTantargyiStatisztika.sql",
|
|
"sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika.sql",
|
|
"sp_Nyomtatvany_Excel_IdoszakiTanuloStatisztika.sql"
|
|
);
|
|
|
|
CreateSchemaFunctions(
|
|
"fnGetTanuloTantargyMulasztasMegtartottOra",
|
|
"fnGetTanuloTantargyMulasztasOsszesOra"
|
|
);
|
|
|
|
CreateSchemaStoredProcedures(
|
|
"sp_GetDokumentumMulasztasok",
|
|
"sp_GetErtesitesAltEsMulAdatok",
|
|
"sp_GetErtesitoNyomtatvany",
|
|
"sp_GetNaplozasMulasztasList",
|
|
"sp_GetOsztalyNaplo",
|
|
"sp_GetTanulokMulasztasaiKesesei",
|
|
"sp_GetTorzslap",
|
|
"sp_Nyomtatvany_Excel_IdoszakiOsztalyokTantargyiStatisztika",
|
|
"sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika",
|
|
"sp_Nyomtatvany_Excel_IdoszakiTanuloStatisztika"
|
|
);
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
}
|
|
}
|
|
}
|