init
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
using FluentMigrator;
|
||||
|
||||
namespace Kreta.DataAccess.Migrations.Migrations
|
||||
{
|
||||
[Migration(20180123163741)]
|
||||
public class KRETA_4796 : CustomMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
DeleteStoredProcedures(
|
||||
"sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika",
|
||||
"sp_Nyomtatvany_Excel_IdoszakiOsztalyokTantargyiStatisztika"
|
||||
);
|
||||
|
||||
ExecuteScripts(
|
||||
"fnGetDokumentumErtekelesekOsztalyonkent.sql",
|
||||
"fnGetDokumentumMulasztasokOsztalyonkentReszletes.sql"
|
||||
);
|
||||
|
||||
CreateSchemaFunctions(
|
||||
"fnGetDokumentumErtekelesekOsztalyonkent",
|
||||
"fnGetDokumentumMulasztasokOsztalyonkentReszletes"
|
||||
);
|
||||
|
||||
ExecuteScripts(
|
||||
"sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika.sql",
|
||||
"sp_Nyomtatvany_Excel_IdoszakiOsztalyokTantargyiStatisztika.sql",
|
||||
"sp_GetPedagogusAltalAdottErtekelesek.sql"
|
||||
);
|
||||
CreateSchemaStoredProcedures(
|
||||
|
||||
"sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika",
|
||||
"sp_Nyomtatvany_Excel_IdoszakiOsztalyokTantargyiStatisztika",
|
||||
"sp_GetPedagogusAltalAdottErtekelesek"
|
||||
);
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user