fix/tytokurwaniepotrafisznicporzadniezrobic (#55)

Merge branch 'master' of http://git.kadet.net/system-praktyk/system-praktyk-api into fix/tytokurwaniepotrafisznicporzadniezrobic

KEK

Co-authored-by: MaxchilKH <m.w.bohdanowicz@gmail.com>
This commit is contained in:
maxchil 2020-10-03 00:36:49 +02:00
parent b4b05b7ef3
commit 5ae4b983bb
4 changed files with 3 additions and 5 deletions

View File

@ -32,7 +32,6 @@ namespace InternshipSystem.Repository
{ {
new Company new Company
{ {
Id = 1,
Name = "Intel", Name = "Intel",
// SiteAddress = new Uri("https://www.intel.com/content/www/us/en/jobs/locations/poland.html"), // SiteAddress = new Uri("https://www.intel.com/content/www/us/en/jobs/locations/poland.html"),
Nip = "9570752316", Nip = "9570752316",
@ -75,7 +74,6 @@ namespace InternshipSystem.Repository
}, },
new Company new Company
{ {
Id = 2,
Name = "Asseco Poland", Name = "Asseco Poland",
// SiteAddress = new Uri("http://pl.asseco.com"), // SiteAddress = new Uri("http://pl.asseco.com"),
Nip = "5842068320", Nip = "5842068320",
@ -225,7 +223,7 @@ namespace InternshipSystem.Repository
new EditionInternshipType new EditionInternshipType
{ {
InternshipType = Context.InternshipTypes.First(t => t.Type.Equals("FreeInternship")) InternshipType = Context.InternshipTypes.First(t => t.Type.Equals("FreeInternship"))
}, }
}, },
Internships = new List<Internship>(), Internships = new List<Internship>(),
} }

View File

@ -10,7 +10,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace InternshipSystem.Repository.Migrations namespace InternshipSystem.Repository.Migrations
{ {
[DbContext(typeof(InternshipDbContext))] [DbContext(typeof(InternshipDbContext))]
[Migration("20201002185255_Initial")] [Migration("20201002222652_Initial")]
partial class Initial partial class Initial
{ {
protected override void BuildTargetModel(ModelBuilder modelBuilder) protected override void BuildTargetModel(ModelBuilder modelBuilder)