Fix init DB
This commit is contained in:
@@ -37,6 +37,15 @@ namespace MP.FileData.Migrations
|
||||
b.HasKey("CodArticolo");
|
||||
|
||||
b.ToTable("Articoli");
|
||||
|
||||
b.HasData(
|
||||
new
|
||||
{
|
||||
CodArticolo = "ND",
|
||||
DescArticolo = "--- Tutti ---",
|
||||
Disegno = "",
|
||||
Tipo = "ND"
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("MP.FileData.DatabaseModels.FileModel", b =>
|
||||
@@ -120,6 +129,19 @@ namespace MP.FileData.Migrations
|
||||
b.HasKey("IdxMacchina");
|
||||
|
||||
b.ToTable("Macchine");
|
||||
|
||||
b.HasData(
|
||||
new
|
||||
{
|
||||
IdxMacchina = "0",
|
||||
BasePath = "",
|
||||
CodMacchina = "0",
|
||||
Descrizione = "--- Tutte ---",
|
||||
ImgUrl = "",
|
||||
Nome = "--- Tutte ---",
|
||||
Note = "",
|
||||
ShowOrder = 0
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("MP.FileData.DatabaseModels.FileModel", b =>
|
||||
|
||||
Reference in New Issue
Block a user