From 40c9c9bba948cb05518170ff2a4e18e8726fae25 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 5 Aug 2019 02:22:11 +0200 Subject: [PATCH] refact + owner required for a circle --- .../{ => Interfaces}/IBaseTrackedEntity.cs | 0 .../{ => Interfaces}/IIdentified.cs | 0 src/Yavsc.Abstract/{ => Interfaces}/ITitle.cs | 0 .../Interfaces/Workflow/IBillingClause.cs | 4 + .../Models/Relationship/Circle.cs | 3 + .../20160315144017_init.Designer.cs | 0 .../{ => 2016}/20160315144017_init.cs | 0 .../20160317215718_command.Designer.cs | 0 .../{ => 2016}/20160317215718_command.cs | 0 .../20160320170252_bank.Designer.cs | 0 .../{ => 2016}/20160320170252_bank.cs | 0 .../20160322144500_contact.Designer.cs | 0 .../{ => 2016}/20160322144500_contact.cs | 0 .../20160322152206_balance.Designer.cs | 0 .../{ => 2016}/20160322152206_balance.cs | 0 .../20160401233357_circle.Designer.cs | 0 .../{ => 2016}/20160401233357_circle.cs | 0 .../20160402135146_calendar.Designer.cs | 0 .../{ => 2016}/20160402135146_calendar.cs | 0 .../20160404110708_files.Designer.cs | 0 .../{ => 2016}/20160404110708_files.cs | 0 .../20160404121446_estimate.Designer.cs | 0 .../{ => 2016}/20160404121446_estimate.cs | 0 ...20160404130359_estimateCommand.Designer.cs | 0 .../20160404130359_estimateCommand.cs | 0 .../20160405091432_booking.Designer.cs | 0 .../{ => 2016}/20160405091432_booking.cs | 0 .../20160407112403_dailycost.Designer.cs | 0 .../{ => 2016}/20160407112403_dailycost.cs | 0 ...20160418114001_commandCreation.Designer.cs | 0 .../20160418114001_commandCreation.cs | 0 .../20160427123737_perfoffer.Designer.cs | 0 .../{ => 2016}/20160427123737_perfoffer.cs | 0 .../20160506154628_siren.Designer.cs | 0 .../{ => 2016}/20160506154628_siren.cs | 0 .../20160515142434_tokenExpiresIn.Designer.cs | 0 .../20160515142434_tokenExpiresIn.cs | 0 ...60529205859_ModeratorGroupName.Designer.cs | 0 .../20160529205859_ModeratorGroupName.cs | 0 .../20160610153353_client.Designer.cs | 0 .../{ => 2016}/20160610153353_client.cs | 0 .../20160613142037_devices.Designer.cs | 0 .../{ => 2016}/20160613142037_devices.cs | 0 .../20160614010545_bookquery.Designer.cs | 0 .../{ => 2016}/20160614010545_bookquery.cs | 0 .../20160702195348_GCMinfos.Designer.cs | 0 .../{ => 2016}/20160702195348_GCMinfos.cs | 0 .../20160723164231_GCMRedDate.Designer.cs | 0 .../{ => 2016}/20160723164231_GCMRedDate.cs | 0 .../20160725145306_estimates.Designer.cs | 0 .../{ => 2016}/20160725145306_estimates.cs | 0 ...20160726131331_performerIdTypo.Designer.cs | 0 .../20160726131331_performerIdTypo.cs | 0 .../20160726133002_otherOrtho.Designer.cs | 0 .../{ => 2016}/20160726133002_otherOrtho.cs | 0 ...20160726161530_ExceptionsSIREN.Designer.cs | 0 .../20160726161530_ExceptionsSIREN.cs | 0 .../20160802143258_bcontentornot.Designer.cs | 0 .../20160802143258_bcontentornot.cs | 0 .../20160802145351_camelCaseBlog.Designer.cs | 0 .../20160802145351_camelCaseBlog.cs | 0 .../20160901145646_products.Designer.cs | 0 .../{ => 2016}/20160901145646_products.cs | 0 .../20160905095708_tags.Designer.cs | 0 .../{ => 2016}/20160905095708_tags.cs | 0 ...075415_estimateFreeFromCatalog.Designer.cs | 0 .../20160916075415_estimateFreeFromCatalog.cs | 0 .../20160917010249_yaev.Designer.cs | 0 .../{ => 2016}/20160917010249_yaev.cs | 0 .../20160920215459_avatar.Designer.cs | 0 .../{ => 2016}/20160920215459_avatar.cs | 0 .../20161010102616_recontact.Designer.cs | 0 .../{ => 2016}/20161010102616_recontact.cs | 0 ...143022_estimateClientApprouval.Designer.cs | 0 .../20161020143022_estimateClientApprouval.cs | 0 .../20161020212947_userAddress.Designer.cs | 0 .../{ => 2016}/20161020212947_userAddress.cs | 0 .../20161021153306_estimateLines.Designer.cs | 0 .../20161021153306_estimateLines.cs | 0 .../20161101234703_chatConnection.Designer.cs | 0 .../20161101234703_chatConnection.cs | 0 .../20161102132129_fixCxOwner.Designer.cs | 0 .../{ => 2016}/20161102132129_fixCxOwner.cs | 0 .../20161102133253_fix2CxOwner.Designer.cs | 0 .../{ => 2016}/20161102133253_fix2CxOwner.cs | 0 ...20161104090806_bankUserProfile.Designer.cs | 0 .../20161104090806_bankUserProfile.cs | 0 ...61104164949_dropEstimateStatus.Designer.cs | 0 .../20161104164949_dropEstimateStatus.cs | 0 ...61123235323_estimatesignatures.Designer.cs | 0 .../20161123235323_estimatesignatures.cs | 0 .../20161130084909_diskQuota.Designer.cs | 0 .../{ => 2016}/20161130084909_diskQuota.cs | 0 ...20161209121035_bookQueryReason.Designer.cs | 0 .../20161209121035_bookQueryReason.cs | 0 ...61231163016_musicalPreferences.Designer.cs | 0 .../20161231163016_musicalPreferences.cs | 0 ...170102140332_musicalTendencies.Designer.cs | 0 .../20170102140332_musicalTendencies.cs | 0 .../20170102152745_locationTypes.Designer.cs | 0 .../20170102152745_locationTypes.cs | 0 ...28_WFActivityParentAndProfiles.Designer.cs | 0 ...70106092028_WFActivityParentAndProfiles.cs | 0 .../20170106113614_ownerProfile.Designer.cs | 0 .../{ => 2017}/20170106113614_ownerProfile.cs | 0 .../20170106122307_Instruments.Designer.cs | 0 .../{ => 2017}/20170106122307_Instruments.cs | 0 ...20170106124548_instrumentation.Designer.cs | 0 .../20170106124548_instrumentation.cs | 0 .../20170106144035_activityRate.Designer.cs | 0 .../{ => 2017}/20170106144035_activityRate.cs | 0 .../20170106235954_weight.Designer.cs | 0 .../{ => 2017}/20170106235954_weight.cs | 0 ...7004233_userActivitiesValidity.Designer.cs | 0 .../20170107004233_userActivitiesValidity.cs | 0 ...170113022807_SettingsClassName.Designer.cs | 0 .../20170113022807_SettingsClassName.cs | 0 ...150714_instrumentationReloaded.Designer.cs | 0 .../20170113150714_instrumentationReloaded.cs | 0 ...16002541_bookQueryActivityCode.Designer.cs | 0 .../20170116002541_bookQueryActivityCode.cs | 0 ...0116154735_refactPrproAllowGeo.Designer.cs | 0 .../20170116154735_refactPrproAllowGeo.cs | 0 .../20170117134339_entityTracking.Designer.cs | 0 .../20170117134339_entityTracking.cs | 0 .../20170120095258_blogAcl.Designer.cs | 0 .../{ => 2017}/20170120095258_blogAcl.cs | 0 .../20170120122324_queryTraking.Designer.cs | 0 .../{ => 2017}/20170120122324_queryTraking.cs | 0 ...0122160343_circlesMemberRefact.Designer.cs | 0 .../20170122160343_circlesMemberRefact.cs | 0 .../20170124090324_commandForms.Designer.cs | 0 .../{ => 2017}/20170124090324_commandForms.cs | 0 .../20170126152454_trackActivity.Designer.cs | 0 .../20170126152454_trackActivity.cs | 0 ...2651_renameActViewNameToAction.Designer.cs | 0 ...0170126152651_renameActViewNameToAction.cs | 0 .../20170201002133_blacklisted.Designer.cs | 0 .../{ => 2017}/20170201002133_blacklisted.cs | 0 .../20170201162847_defaultAvatar.Designer.cs | 0 .../20170201162847_defaultAvatar.cs | 0 ...0170202102936_defaultDiskQuota.Designer.cs | 0 .../20170202102936_defaultDiskQuota.cs | 0 .../20170212005346_haircut.Designer.cs | 0 .../{ => 2017}/20170212005346_haircut.cs | 0 ...20170217221646_bookQueryStatus.Designer.cs | 0 .../20170217221646_bookQueryStatus.cs | 0 .../20170220102125_notifications.Designer.cs | 0 .../20170220102125_notifications.cs | 0 .../20170220125518_dimissclick.Designer.cs | 0 .../{ => 2017}/20170220125518_dimissclick.cs | 0 .../20170220144141_hiddenActivity.Designer.cs | 0 .../20170220144141_hiddenActivity.cs | 0 ...20170227151759_hairPrestations.Designer.cs | 0 .../20170227151759_hairPrestations.cs | 0 .../20170228115359_brusherProfile.Designer.cs | 0 .../20170228115359_brusherProfile.cs | 0 .../20170228145057_actionName.Designer.cs | 0 .../{ => 2017}/20170228145057_actionName.cs | 0 ...01124608_brusherActiondistance.Designer.cs | 0 .../20170301124608_brusherActiondistance.cs | 0 .../20170301132531_manbrushing.Designer.cs | 0 .../{ => 2017}/20170301132531_manbrushing.cs | 0 .../20170301211317_folding.Designer.cs | 0 .../{ => 2017}/20170301211317_folding.cs | 0 ...2122929_brusherProfileDiscount.Designer.cs | 0 .../20170302122929_brusherProfileDiscount.cs | 0 ...800_estimateRequireCommandType.Designer.cs | 0 ...170303000800_estimateRequireCommandType.cs | 0 ...70317213255_cxRequiresUserName.Designer.cs | 0 .../20170317213255_cxRequiresUserName.cs | 0 ...20170329075249_avatarMayBeNull.Designer.cs | 0 .../20170329075249_avatarMayBeNull.cs | 0 ...7_rdvqueryAndNoLocationNorDate.Designer.cs | 0 ...0331214327_rdvqueryAndNoLocationNorDate.cs | 0 ...642_haircutqueryAdditionalInfo.Designer.cs | 0 ...170408055642_haircutqueryAdditionalInfo.cs | 0 ...409004555_haircutCommandTaints.Designer.cs | 0 .../20170409004555_haircutCommandTaints.cs | 0 .../20170507200834_paypal.Designer.cs | 0 .../{ => 2017}/20170507200834_paypal.cs | 0 ...510121057_hairCutPaypalPayment.Designer.cs | 0 .../20170510121057_hairCutPaypalPayment.cs | 0 .../20170512102508_hairCutBill.Designer.cs | 0 .../{ => 2017}/20170512102508_hairCutBill.cs | 0 .../20170513213829_paypalids.Designer.cs | 0 .../{ => 2017}/20170513213829_paypalids.cs | 0 .../20170514123122_links.Designer.cs | 0 .../{ => 2017}/20170514123122_links.cs | 0 .../20170516181745_paymentConsent.Designer.cs | 0 .../20170516181745_paymentConsent.cs | 0 ...0517001340_notificatioinTarget.Designer.cs | 0 .../20170517001340_notificatioinTarget.cs | 0 ...70524210924_paypalToDeprecated.Designer.cs | 0 .../20170524210924_paypalToDeprecated.cs | 0 .../20170526020220_rdvPayment.Designer.cs | 0 .../{ => 2017}/20170526020220_rdvPayment.cs | 0 .../20170601115553_period.Designer.cs | 0 .../{ => 2017}/20170601115553_period.cs | 0 ...611141231_BrusherCalendarModel.Designer.cs | 0 .../20170611141231_BrusherCalendarModel.cs | 0 .../20171002023107_Features.Designer.cs | 0 .../{ => 2017}/20171002023107_Features.cs | 0 .../20171002023835_bugs.Designer.cs | 0 .../{ => 2017}/20171002023835_bugs.cs | 0 .../20171003195221_BlogRename.Designer.cs | 0 .../{ => 2017}/20171003195221_BlogRename.cs | 0 .../20171003203721_BlogComment.Designer.cs | 0 .../{ => 2017}/20171003203721_BlogComment.cs | 0 .../20171008184908_annouce.Designer.cs | 0 .../{ => 2017}/20171008184908_annouce.cs | 0 .../20171008190234_announceAnwer.Designer.cs | 0 .../20171008190234_announceAnwer.cs | 0 .../20171016090837_bugDescription.Designer.cs | 0 .../20171016090837_bugDescription.cs | 0 .../20171019130120_subComment.Designer.cs | 0 .../{ => 2017}/20171019130120_subComment.cs | 0 .../20171020090944_commentAuthor.Designer.cs | 0 .../20171020090944_commentAuthor.cs | 0 ...20171020173835_commentAuthorId.Designer.cs | 0 .../20171020173835_commentAuthorId.cs | 0 .../20180102153009_chatRooms.Designer.cs | 0 .../{ => 2018}/20180102153009_chatRooms.cs | 0 .../20180209144114_rejectQuery.Designer.cs | 0 .../{ => 2018}/20180209144114_rejectQuery.cs | 0 ...0180420213912_mailingTemplates.Designer.cs | 0 .../20180420213912_mailingTemplates.cs | 0 ...03100246_userAllowMonthlyEmail.Designer.cs | 0 .../20180503100246_userAllowMonthlyEmail.cs | 0 .../{ => 2018}/20180625113528_Git.Designer.cs | 0 .../{ => 2018}/20180625113528_Git.cs | 0 ...8_wrongProjectConfigForeignKey.Designer.cs | 0 ...0703224638_wrongProjectConfigForeignKey.cs | 0 ...rongProjectConfigForeignKeyBis.Designer.cs | 0 ...3231814_wrongProjectConfigForeignKeyBis.cs | 0 .../20180805122812_gitprojectref.Designer.cs | 0 .../20180805122812_gitprojectref.cs | 0 .../20181212103501_blogLang.Designer.cs | 0 .../{ => 2018}/20181212103501_blogLang.cs | 0 .../20181218152420_BlogTradModel.Designer.cs | 0 .../20181218152420_BlogTradModel.cs | 0 .../20181231153224_bugTitles.Designer.cs | 0 .../{ => 2018}/20181231153224_bugTitles.cs | 0 .../T1}/20190103110008_liveSetup.Designer.cs | 0 .../{ => 2019/T1}/20190103110008_liveSetup.cs | 0 .../T1}/20190126133339_banTarget.Designer.cs | 0 .../{ => 2019/T1}/20190126133339_banTarget.cs | 0 .../T1}/20190127105601_banReason.Designer.cs | 0 .../{ => 2019/T1}/20190127105601_banReason.cs | 0 .../20190204162909_liveFlowSeqnum.Designer.cs | 0 .../T1}/20190204162909_liveFlowSeqnum.cs | 0 .../T2}/20190507142752_chatAccess.Designer.cs | 0 .../T2}/20190507142752_chatAccess.cs | 0 .../T2}/20190508004238_dropGCM.Designer.cs | 0 .../{ => 2019/T2}/20190508004238_dropGCM.cs | 0 .../T2}/20190510021107_chanDates.Designer.cs | 0 .../{ => 2019/T2}/20190510021107_chanDates.cs | 0 .../T2}/20190622172941_userTrack.Designer.cs | 0 .../{ => 2019/T2}/20190622172941_userTrack.cs | 0 ...190804232432_circleAnnotations.Designer.cs | 2080 +++++++++++++++++ .../20190804232432_circleAnnotations.cs | 962 ++++++++ .../ApplicationDbContextModelSnapshot.cs | 6 +- 262 files changed, 3053 insertions(+), 2 deletions(-) rename src/Yavsc.Abstract/{ => Interfaces}/IBaseTrackedEntity.cs (100%) rename src/Yavsc.Abstract/{ => Interfaces}/IIdentified.cs (100%) rename src/Yavsc.Abstract/{ => Interfaces}/ITitle.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160315144017_init.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160315144017_init.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160317215718_command.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160317215718_command.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160320170252_bank.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160320170252_bank.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160322144500_contact.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160322144500_contact.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160322152206_balance.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160322152206_balance.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160401233357_circle.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160401233357_circle.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160402135146_calendar.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160402135146_calendar.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160404110708_files.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160404110708_files.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160404121446_estimate.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160404121446_estimate.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160404130359_estimateCommand.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160404130359_estimateCommand.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160405091432_booking.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160405091432_booking.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160407112403_dailycost.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160407112403_dailycost.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160418114001_commandCreation.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160418114001_commandCreation.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160427123737_perfoffer.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160427123737_perfoffer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160506154628_siren.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160506154628_siren.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160515142434_tokenExpiresIn.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160515142434_tokenExpiresIn.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160529205859_ModeratorGroupName.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160529205859_ModeratorGroupName.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160610153353_client.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160610153353_client.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160613142037_devices.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160613142037_devices.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160614010545_bookquery.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160614010545_bookquery.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160702195348_GCMinfos.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160702195348_GCMinfos.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160723164231_GCMRedDate.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160723164231_GCMRedDate.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160725145306_estimates.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160725145306_estimates.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160726131331_performerIdTypo.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160726131331_performerIdTypo.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160726133002_otherOrtho.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160726133002_otherOrtho.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160726161530_ExceptionsSIREN.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160726161530_ExceptionsSIREN.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160802143258_bcontentornot.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160802143258_bcontentornot.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160802145351_camelCaseBlog.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160802145351_camelCaseBlog.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160901145646_products.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160901145646_products.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160905095708_tags.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160905095708_tags.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160916075415_estimateFreeFromCatalog.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160916075415_estimateFreeFromCatalog.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160917010249_yaev.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160917010249_yaev.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160920215459_avatar.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20160920215459_avatar.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161010102616_recontact.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161010102616_recontact.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161020143022_estimateClientApprouval.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161020143022_estimateClientApprouval.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161020212947_userAddress.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161020212947_userAddress.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161021153306_estimateLines.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161021153306_estimateLines.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161101234703_chatConnection.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161101234703_chatConnection.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161102132129_fixCxOwner.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161102132129_fixCxOwner.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161102133253_fix2CxOwner.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161102133253_fix2CxOwner.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161104090806_bankUserProfile.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161104090806_bankUserProfile.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161104164949_dropEstimateStatus.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161104164949_dropEstimateStatus.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161123235323_estimatesignatures.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161123235323_estimatesignatures.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161130084909_diskQuota.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161130084909_diskQuota.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161209121035_bookQueryReason.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161209121035_bookQueryReason.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161231163016_musicalPreferences.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2016}/20161231163016_musicalPreferences.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170102140332_musicalTendencies.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170102140332_musicalTendencies.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170102152745_locationTypes.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170102152745_locationTypes.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106092028_WFActivityParentAndProfiles.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106092028_WFActivityParentAndProfiles.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106113614_ownerProfile.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106113614_ownerProfile.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106122307_Instruments.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106122307_Instruments.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106124548_instrumentation.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106124548_instrumentation.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106144035_activityRate.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106144035_activityRate.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106235954_weight.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170106235954_weight.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170107004233_userActivitiesValidity.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170107004233_userActivitiesValidity.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170113022807_SettingsClassName.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170113022807_SettingsClassName.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170113150714_instrumentationReloaded.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170113150714_instrumentationReloaded.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170116002541_bookQueryActivityCode.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170116002541_bookQueryActivityCode.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170116154735_refactPrproAllowGeo.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170116154735_refactPrproAllowGeo.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170117134339_entityTracking.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170117134339_entityTracking.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170120095258_blogAcl.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170120095258_blogAcl.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170120122324_queryTraking.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170120122324_queryTraking.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170122160343_circlesMemberRefact.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170122160343_circlesMemberRefact.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170124090324_commandForms.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170124090324_commandForms.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170126152454_trackActivity.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170126152454_trackActivity.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170126152651_renameActViewNameToAction.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170126152651_renameActViewNameToAction.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170201002133_blacklisted.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170201002133_blacklisted.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170201162847_defaultAvatar.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170201162847_defaultAvatar.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170202102936_defaultDiskQuota.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170202102936_defaultDiskQuota.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170212005346_haircut.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170212005346_haircut.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170217221646_bookQueryStatus.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170217221646_bookQueryStatus.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170220102125_notifications.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170220102125_notifications.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170220125518_dimissclick.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170220125518_dimissclick.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170220144141_hiddenActivity.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170220144141_hiddenActivity.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170227151759_hairPrestations.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170227151759_hairPrestations.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170228115359_brusherProfile.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170228115359_brusherProfile.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170228145057_actionName.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170228145057_actionName.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170301124608_brusherActiondistance.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170301124608_brusherActiondistance.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170301132531_manbrushing.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170301132531_manbrushing.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170301211317_folding.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170301211317_folding.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170302122929_brusherProfileDiscount.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170302122929_brusherProfileDiscount.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170303000800_estimateRequireCommandType.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170303000800_estimateRequireCommandType.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170317213255_cxRequiresUserName.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170317213255_cxRequiresUserName.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170329075249_avatarMayBeNull.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170329075249_avatarMayBeNull.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170331214327_rdvqueryAndNoLocationNorDate.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170331214327_rdvqueryAndNoLocationNorDate.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170408055642_haircutqueryAdditionalInfo.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170408055642_haircutqueryAdditionalInfo.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170409004555_haircutCommandTaints.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170409004555_haircutCommandTaints.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170507200834_paypal.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170507200834_paypal.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170510121057_hairCutPaypalPayment.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170510121057_hairCutPaypalPayment.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170512102508_hairCutBill.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170512102508_hairCutBill.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170513213829_paypalids.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170513213829_paypalids.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170514123122_links.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170514123122_links.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170516181745_paymentConsent.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170516181745_paymentConsent.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170517001340_notificatioinTarget.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170517001340_notificatioinTarget.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170524210924_paypalToDeprecated.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170524210924_paypalToDeprecated.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170526020220_rdvPayment.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170526020220_rdvPayment.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170601115553_period.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170601115553_period.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170611141231_BrusherCalendarModel.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20170611141231_BrusherCalendarModel.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171002023107_Features.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171002023107_Features.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171002023835_bugs.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171002023835_bugs.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171003195221_BlogRename.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171003195221_BlogRename.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171003203721_BlogComment.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171003203721_BlogComment.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171008184908_annouce.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171008184908_annouce.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171008190234_announceAnwer.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171008190234_announceAnwer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171016090837_bugDescription.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171016090837_bugDescription.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171019130120_subComment.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171019130120_subComment.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171020090944_commentAuthor.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171020090944_commentAuthor.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171020173835_commentAuthorId.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2017}/20171020173835_commentAuthorId.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180102153009_chatRooms.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180102153009_chatRooms.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180209144114_rejectQuery.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180209144114_rejectQuery.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180420213912_mailingTemplates.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180420213912_mailingTemplates.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180503100246_userAllowMonthlyEmail.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180503100246_userAllowMonthlyEmail.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180625113528_Git.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180625113528_Git.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180703224638_wrongProjectConfigForeignKey.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180703224638_wrongProjectConfigForeignKey.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180703231814_wrongProjectConfigForeignKeyBis.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180703231814_wrongProjectConfigForeignKeyBis.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180805122812_gitprojectref.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20180805122812_gitprojectref.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20181212103501_blogLang.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20181212103501_blogLang.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20181218152420_BlogTradModel.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20181218152420_BlogTradModel.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20181231153224_bugTitles.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2018}/20181231153224_bugTitles.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T1}/20190103110008_liveSetup.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T1}/20190103110008_liveSetup.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T1}/20190126133339_banTarget.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T1}/20190126133339_banTarget.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T1}/20190127105601_banReason.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T1}/20190127105601_banReason.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T1}/20190204162909_liveFlowSeqnum.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T1}/20190204162909_liveFlowSeqnum.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T2}/20190507142752_chatAccess.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T2}/20190507142752_chatAccess.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T2}/20190508004238_dropGCM.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T2}/20190508004238_dropGCM.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T2}/20190510021107_chanDates.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T2}/20190510021107_chanDates.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T2}/20190622172941_userTrack.Designer.cs (100%) rename src/Yavsc/Migrations/{ => 2019/T2}/20190622172941_userTrack.cs (100%) create mode 100644 src/Yavsc/Migrations/20190804232432_circleAnnotations.Designer.cs create mode 100644 src/Yavsc/Migrations/20190804232432_circleAnnotations.cs diff --git a/src/Yavsc.Abstract/IBaseTrackedEntity.cs b/src/Yavsc.Abstract/Interfaces/IBaseTrackedEntity.cs similarity index 100% rename from src/Yavsc.Abstract/IBaseTrackedEntity.cs rename to src/Yavsc.Abstract/Interfaces/IBaseTrackedEntity.cs diff --git a/src/Yavsc.Abstract/IIdentified.cs b/src/Yavsc.Abstract/Interfaces/IIdentified.cs similarity index 100% rename from src/Yavsc.Abstract/IIdentified.cs rename to src/Yavsc.Abstract/Interfaces/IIdentified.cs diff --git a/src/Yavsc.Abstract/ITitle.cs b/src/Yavsc.Abstract/Interfaces/ITitle.cs similarity index 100% rename from src/Yavsc.Abstract/ITitle.cs rename to src/Yavsc.Abstract/Interfaces/ITitle.cs diff --git a/src/Yavsc.Abstract/Interfaces/Workflow/IBillingClause.cs b/src/Yavsc.Abstract/Interfaces/Workflow/IBillingClause.cs index 6a1ead65..31505f1c 100644 --- a/src/Yavsc.Abstract/Interfaces/Workflow/IBillingClause.cs +++ b/src/Yavsc.Abstract/Interfaces/Workflow/IBillingClause.cs @@ -4,6 +4,10 @@ namespace Yavsc.Models.Billing { public interface IBillingClause {  string Description {get; set;} IBillingImpacter Impacter { get; } + + // TODO + // Conditions de ventes relatives à l'impact + // IEnumerable CGV,CPV } } diff --git a/src/Yavsc.Server/Models/Relationship/Circle.cs b/src/Yavsc.Server/Models/Relationship/Circle.cs index 9572ac57..44e6b855 100644 --- a/src/Yavsc.Server/Models/Relationship/Circle.cs +++ b/src/Yavsc.Server/Models/Relationship/Circle.cs @@ -13,7 +13,10 @@ namespace Yavsc.Models.Relationship public bool Public { get; set; } + [Required] public string Name { get; set; } + + [Required] public string OwnerId { get; set; } [ForeignKey("OwnerId"),JsonIgnore,NotMapped] diff --git a/src/Yavsc/Migrations/20160315144017_init.Designer.cs b/src/Yavsc/Migrations/2016/20160315144017_init.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160315144017_init.Designer.cs rename to src/Yavsc/Migrations/2016/20160315144017_init.Designer.cs diff --git a/src/Yavsc/Migrations/20160315144017_init.cs b/src/Yavsc/Migrations/2016/20160315144017_init.cs similarity index 100% rename from src/Yavsc/Migrations/20160315144017_init.cs rename to src/Yavsc/Migrations/2016/20160315144017_init.cs diff --git a/src/Yavsc/Migrations/20160317215718_command.Designer.cs b/src/Yavsc/Migrations/2016/20160317215718_command.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160317215718_command.Designer.cs rename to src/Yavsc/Migrations/2016/20160317215718_command.Designer.cs diff --git a/src/Yavsc/Migrations/20160317215718_command.cs b/src/Yavsc/Migrations/2016/20160317215718_command.cs similarity index 100% rename from src/Yavsc/Migrations/20160317215718_command.cs rename to src/Yavsc/Migrations/2016/20160317215718_command.cs diff --git a/src/Yavsc/Migrations/20160320170252_bank.Designer.cs b/src/Yavsc/Migrations/2016/20160320170252_bank.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160320170252_bank.Designer.cs rename to src/Yavsc/Migrations/2016/20160320170252_bank.Designer.cs diff --git a/src/Yavsc/Migrations/20160320170252_bank.cs b/src/Yavsc/Migrations/2016/20160320170252_bank.cs similarity index 100% rename from src/Yavsc/Migrations/20160320170252_bank.cs rename to src/Yavsc/Migrations/2016/20160320170252_bank.cs diff --git a/src/Yavsc/Migrations/20160322144500_contact.Designer.cs b/src/Yavsc/Migrations/2016/20160322144500_contact.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160322144500_contact.Designer.cs rename to src/Yavsc/Migrations/2016/20160322144500_contact.Designer.cs diff --git a/src/Yavsc/Migrations/20160322144500_contact.cs b/src/Yavsc/Migrations/2016/20160322144500_contact.cs similarity index 100% rename from src/Yavsc/Migrations/20160322144500_contact.cs rename to src/Yavsc/Migrations/2016/20160322144500_contact.cs diff --git a/src/Yavsc/Migrations/20160322152206_balance.Designer.cs b/src/Yavsc/Migrations/2016/20160322152206_balance.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160322152206_balance.Designer.cs rename to src/Yavsc/Migrations/2016/20160322152206_balance.Designer.cs diff --git a/src/Yavsc/Migrations/20160322152206_balance.cs b/src/Yavsc/Migrations/2016/20160322152206_balance.cs similarity index 100% rename from src/Yavsc/Migrations/20160322152206_balance.cs rename to src/Yavsc/Migrations/2016/20160322152206_balance.cs diff --git a/src/Yavsc/Migrations/20160401233357_circle.Designer.cs b/src/Yavsc/Migrations/2016/20160401233357_circle.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160401233357_circle.Designer.cs rename to src/Yavsc/Migrations/2016/20160401233357_circle.Designer.cs diff --git a/src/Yavsc/Migrations/20160401233357_circle.cs b/src/Yavsc/Migrations/2016/20160401233357_circle.cs similarity index 100% rename from src/Yavsc/Migrations/20160401233357_circle.cs rename to src/Yavsc/Migrations/2016/20160401233357_circle.cs diff --git a/src/Yavsc/Migrations/20160402135146_calendar.Designer.cs b/src/Yavsc/Migrations/2016/20160402135146_calendar.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160402135146_calendar.Designer.cs rename to src/Yavsc/Migrations/2016/20160402135146_calendar.Designer.cs diff --git a/src/Yavsc/Migrations/20160402135146_calendar.cs b/src/Yavsc/Migrations/2016/20160402135146_calendar.cs similarity index 100% rename from src/Yavsc/Migrations/20160402135146_calendar.cs rename to src/Yavsc/Migrations/2016/20160402135146_calendar.cs diff --git a/src/Yavsc/Migrations/20160404110708_files.Designer.cs b/src/Yavsc/Migrations/2016/20160404110708_files.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160404110708_files.Designer.cs rename to src/Yavsc/Migrations/2016/20160404110708_files.Designer.cs diff --git a/src/Yavsc/Migrations/20160404110708_files.cs b/src/Yavsc/Migrations/2016/20160404110708_files.cs similarity index 100% rename from src/Yavsc/Migrations/20160404110708_files.cs rename to src/Yavsc/Migrations/2016/20160404110708_files.cs diff --git a/src/Yavsc/Migrations/20160404121446_estimate.Designer.cs b/src/Yavsc/Migrations/2016/20160404121446_estimate.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160404121446_estimate.Designer.cs rename to src/Yavsc/Migrations/2016/20160404121446_estimate.Designer.cs diff --git a/src/Yavsc/Migrations/20160404121446_estimate.cs b/src/Yavsc/Migrations/2016/20160404121446_estimate.cs similarity index 100% rename from src/Yavsc/Migrations/20160404121446_estimate.cs rename to src/Yavsc/Migrations/2016/20160404121446_estimate.cs diff --git a/src/Yavsc/Migrations/20160404130359_estimateCommand.Designer.cs b/src/Yavsc/Migrations/2016/20160404130359_estimateCommand.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160404130359_estimateCommand.Designer.cs rename to src/Yavsc/Migrations/2016/20160404130359_estimateCommand.Designer.cs diff --git a/src/Yavsc/Migrations/20160404130359_estimateCommand.cs b/src/Yavsc/Migrations/2016/20160404130359_estimateCommand.cs similarity index 100% rename from src/Yavsc/Migrations/20160404130359_estimateCommand.cs rename to src/Yavsc/Migrations/2016/20160404130359_estimateCommand.cs diff --git a/src/Yavsc/Migrations/20160405091432_booking.Designer.cs b/src/Yavsc/Migrations/2016/20160405091432_booking.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160405091432_booking.Designer.cs rename to src/Yavsc/Migrations/2016/20160405091432_booking.Designer.cs diff --git a/src/Yavsc/Migrations/20160405091432_booking.cs b/src/Yavsc/Migrations/2016/20160405091432_booking.cs similarity index 100% rename from src/Yavsc/Migrations/20160405091432_booking.cs rename to src/Yavsc/Migrations/2016/20160405091432_booking.cs diff --git a/src/Yavsc/Migrations/20160407112403_dailycost.Designer.cs b/src/Yavsc/Migrations/2016/20160407112403_dailycost.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160407112403_dailycost.Designer.cs rename to src/Yavsc/Migrations/2016/20160407112403_dailycost.Designer.cs diff --git a/src/Yavsc/Migrations/20160407112403_dailycost.cs b/src/Yavsc/Migrations/2016/20160407112403_dailycost.cs similarity index 100% rename from src/Yavsc/Migrations/20160407112403_dailycost.cs rename to src/Yavsc/Migrations/2016/20160407112403_dailycost.cs diff --git a/src/Yavsc/Migrations/20160418114001_commandCreation.Designer.cs b/src/Yavsc/Migrations/2016/20160418114001_commandCreation.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160418114001_commandCreation.Designer.cs rename to src/Yavsc/Migrations/2016/20160418114001_commandCreation.Designer.cs diff --git a/src/Yavsc/Migrations/20160418114001_commandCreation.cs b/src/Yavsc/Migrations/2016/20160418114001_commandCreation.cs similarity index 100% rename from src/Yavsc/Migrations/20160418114001_commandCreation.cs rename to src/Yavsc/Migrations/2016/20160418114001_commandCreation.cs diff --git a/src/Yavsc/Migrations/20160427123737_perfoffer.Designer.cs b/src/Yavsc/Migrations/2016/20160427123737_perfoffer.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160427123737_perfoffer.Designer.cs rename to src/Yavsc/Migrations/2016/20160427123737_perfoffer.Designer.cs diff --git a/src/Yavsc/Migrations/20160427123737_perfoffer.cs b/src/Yavsc/Migrations/2016/20160427123737_perfoffer.cs similarity index 100% rename from src/Yavsc/Migrations/20160427123737_perfoffer.cs rename to src/Yavsc/Migrations/2016/20160427123737_perfoffer.cs diff --git a/src/Yavsc/Migrations/20160506154628_siren.Designer.cs b/src/Yavsc/Migrations/2016/20160506154628_siren.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160506154628_siren.Designer.cs rename to src/Yavsc/Migrations/2016/20160506154628_siren.Designer.cs diff --git a/src/Yavsc/Migrations/20160506154628_siren.cs b/src/Yavsc/Migrations/2016/20160506154628_siren.cs similarity index 100% rename from src/Yavsc/Migrations/20160506154628_siren.cs rename to src/Yavsc/Migrations/2016/20160506154628_siren.cs diff --git a/src/Yavsc/Migrations/20160515142434_tokenExpiresIn.Designer.cs b/src/Yavsc/Migrations/2016/20160515142434_tokenExpiresIn.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160515142434_tokenExpiresIn.Designer.cs rename to src/Yavsc/Migrations/2016/20160515142434_tokenExpiresIn.Designer.cs diff --git a/src/Yavsc/Migrations/20160515142434_tokenExpiresIn.cs b/src/Yavsc/Migrations/2016/20160515142434_tokenExpiresIn.cs similarity index 100% rename from src/Yavsc/Migrations/20160515142434_tokenExpiresIn.cs rename to src/Yavsc/Migrations/2016/20160515142434_tokenExpiresIn.cs diff --git a/src/Yavsc/Migrations/20160529205859_ModeratorGroupName.Designer.cs b/src/Yavsc/Migrations/2016/20160529205859_ModeratorGroupName.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160529205859_ModeratorGroupName.Designer.cs rename to src/Yavsc/Migrations/2016/20160529205859_ModeratorGroupName.Designer.cs diff --git a/src/Yavsc/Migrations/20160529205859_ModeratorGroupName.cs b/src/Yavsc/Migrations/2016/20160529205859_ModeratorGroupName.cs similarity index 100% rename from src/Yavsc/Migrations/20160529205859_ModeratorGroupName.cs rename to src/Yavsc/Migrations/2016/20160529205859_ModeratorGroupName.cs diff --git a/src/Yavsc/Migrations/20160610153353_client.Designer.cs b/src/Yavsc/Migrations/2016/20160610153353_client.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160610153353_client.Designer.cs rename to src/Yavsc/Migrations/2016/20160610153353_client.Designer.cs diff --git a/src/Yavsc/Migrations/20160610153353_client.cs b/src/Yavsc/Migrations/2016/20160610153353_client.cs similarity index 100% rename from src/Yavsc/Migrations/20160610153353_client.cs rename to src/Yavsc/Migrations/2016/20160610153353_client.cs diff --git a/src/Yavsc/Migrations/20160613142037_devices.Designer.cs b/src/Yavsc/Migrations/2016/20160613142037_devices.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160613142037_devices.Designer.cs rename to src/Yavsc/Migrations/2016/20160613142037_devices.Designer.cs diff --git a/src/Yavsc/Migrations/20160613142037_devices.cs b/src/Yavsc/Migrations/2016/20160613142037_devices.cs similarity index 100% rename from src/Yavsc/Migrations/20160613142037_devices.cs rename to src/Yavsc/Migrations/2016/20160613142037_devices.cs diff --git a/src/Yavsc/Migrations/20160614010545_bookquery.Designer.cs b/src/Yavsc/Migrations/2016/20160614010545_bookquery.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160614010545_bookquery.Designer.cs rename to src/Yavsc/Migrations/2016/20160614010545_bookquery.Designer.cs diff --git a/src/Yavsc/Migrations/20160614010545_bookquery.cs b/src/Yavsc/Migrations/2016/20160614010545_bookquery.cs similarity index 100% rename from src/Yavsc/Migrations/20160614010545_bookquery.cs rename to src/Yavsc/Migrations/2016/20160614010545_bookquery.cs diff --git a/src/Yavsc/Migrations/20160702195348_GCMinfos.Designer.cs b/src/Yavsc/Migrations/2016/20160702195348_GCMinfos.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160702195348_GCMinfos.Designer.cs rename to src/Yavsc/Migrations/2016/20160702195348_GCMinfos.Designer.cs diff --git a/src/Yavsc/Migrations/20160702195348_GCMinfos.cs b/src/Yavsc/Migrations/2016/20160702195348_GCMinfos.cs similarity index 100% rename from src/Yavsc/Migrations/20160702195348_GCMinfos.cs rename to src/Yavsc/Migrations/2016/20160702195348_GCMinfos.cs diff --git a/src/Yavsc/Migrations/20160723164231_GCMRedDate.Designer.cs b/src/Yavsc/Migrations/2016/20160723164231_GCMRedDate.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160723164231_GCMRedDate.Designer.cs rename to src/Yavsc/Migrations/2016/20160723164231_GCMRedDate.Designer.cs diff --git a/src/Yavsc/Migrations/20160723164231_GCMRedDate.cs b/src/Yavsc/Migrations/2016/20160723164231_GCMRedDate.cs similarity index 100% rename from src/Yavsc/Migrations/20160723164231_GCMRedDate.cs rename to src/Yavsc/Migrations/2016/20160723164231_GCMRedDate.cs diff --git a/src/Yavsc/Migrations/20160725145306_estimates.Designer.cs b/src/Yavsc/Migrations/2016/20160725145306_estimates.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160725145306_estimates.Designer.cs rename to src/Yavsc/Migrations/2016/20160725145306_estimates.Designer.cs diff --git a/src/Yavsc/Migrations/20160725145306_estimates.cs b/src/Yavsc/Migrations/2016/20160725145306_estimates.cs similarity index 100% rename from src/Yavsc/Migrations/20160725145306_estimates.cs rename to src/Yavsc/Migrations/2016/20160725145306_estimates.cs diff --git a/src/Yavsc/Migrations/20160726131331_performerIdTypo.Designer.cs b/src/Yavsc/Migrations/2016/20160726131331_performerIdTypo.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160726131331_performerIdTypo.Designer.cs rename to src/Yavsc/Migrations/2016/20160726131331_performerIdTypo.Designer.cs diff --git a/src/Yavsc/Migrations/20160726131331_performerIdTypo.cs b/src/Yavsc/Migrations/2016/20160726131331_performerIdTypo.cs similarity index 100% rename from src/Yavsc/Migrations/20160726131331_performerIdTypo.cs rename to src/Yavsc/Migrations/2016/20160726131331_performerIdTypo.cs diff --git a/src/Yavsc/Migrations/20160726133002_otherOrtho.Designer.cs b/src/Yavsc/Migrations/2016/20160726133002_otherOrtho.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160726133002_otherOrtho.Designer.cs rename to src/Yavsc/Migrations/2016/20160726133002_otherOrtho.Designer.cs diff --git a/src/Yavsc/Migrations/20160726133002_otherOrtho.cs b/src/Yavsc/Migrations/2016/20160726133002_otherOrtho.cs similarity index 100% rename from src/Yavsc/Migrations/20160726133002_otherOrtho.cs rename to src/Yavsc/Migrations/2016/20160726133002_otherOrtho.cs diff --git a/src/Yavsc/Migrations/20160726161530_ExceptionsSIREN.Designer.cs b/src/Yavsc/Migrations/2016/20160726161530_ExceptionsSIREN.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160726161530_ExceptionsSIREN.Designer.cs rename to src/Yavsc/Migrations/2016/20160726161530_ExceptionsSIREN.Designer.cs diff --git a/src/Yavsc/Migrations/20160726161530_ExceptionsSIREN.cs b/src/Yavsc/Migrations/2016/20160726161530_ExceptionsSIREN.cs similarity index 100% rename from src/Yavsc/Migrations/20160726161530_ExceptionsSIREN.cs rename to src/Yavsc/Migrations/2016/20160726161530_ExceptionsSIREN.cs diff --git a/src/Yavsc/Migrations/20160802143258_bcontentornot.Designer.cs b/src/Yavsc/Migrations/2016/20160802143258_bcontentornot.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160802143258_bcontentornot.Designer.cs rename to src/Yavsc/Migrations/2016/20160802143258_bcontentornot.Designer.cs diff --git a/src/Yavsc/Migrations/20160802143258_bcontentornot.cs b/src/Yavsc/Migrations/2016/20160802143258_bcontentornot.cs similarity index 100% rename from src/Yavsc/Migrations/20160802143258_bcontentornot.cs rename to src/Yavsc/Migrations/2016/20160802143258_bcontentornot.cs diff --git a/src/Yavsc/Migrations/20160802145351_camelCaseBlog.Designer.cs b/src/Yavsc/Migrations/2016/20160802145351_camelCaseBlog.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160802145351_camelCaseBlog.Designer.cs rename to src/Yavsc/Migrations/2016/20160802145351_camelCaseBlog.Designer.cs diff --git a/src/Yavsc/Migrations/20160802145351_camelCaseBlog.cs b/src/Yavsc/Migrations/2016/20160802145351_camelCaseBlog.cs similarity index 100% rename from src/Yavsc/Migrations/20160802145351_camelCaseBlog.cs rename to src/Yavsc/Migrations/2016/20160802145351_camelCaseBlog.cs diff --git a/src/Yavsc/Migrations/20160901145646_products.Designer.cs b/src/Yavsc/Migrations/2016/20160901145646_products.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160901145646_products.Designer.cs rename to src/Yavsc/Migrations/2016/20160901145646_products.Designer.cs diff --git a/src/Yavsc/Migrations/20160901145646_products.cs b/src/Yavsc/Migrations/2016/20160901145646_products.cs similarity index 100% rename from src/Yavsc/Migrations/20160901145646_products.cs rename to src/Yavsc/Migrations/2016/20160901145646_products.cs diff --git a/src/Yavsc/Migrations/20160905095708_tags.Designer.cs b/src/Yavsc/Migrations/2016/20160905095708_tags.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160905095708_tags.Designer.cs rename to src/Yavsc/Migrations/2016/20160905095708_tags.Designer.cs diff --git a/src/Yavsc/Migrations/20160905095708_tags.cs b/src/Yavsc/Migrations/2016/20160905095708_tags.cs similarity index 100% rename from src/Yavsc/Migrations/20160905095708_tags.cs rename to src/Yavsc/Migrations/2016/20160905095708_tags.cs diff --git a/src/Yavsc/Migrations/20160916075415_estimateFreeFromCatalog.Designer.cs b/src/Yavsc/Migrations/2016/20160916075415_estimateFreeFromCatalog.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160916075415_estimateFreeFromCatalog.Designer.cs rename to src/Yavsc/Migrations/2016/20160916075415_estimateFreeFromCatalog.Designer.cs diff --git a/src/Yavsc/Migrations/20160916075415_estimateFreeFromCatalog.cs b/src/Yavsc/Migrations/2016/20160916075415_estimateFreeFromCatalog.cs similarity index 100% rename from src/Yavsc/Migrations/20160916075415_estimateFreeFromCatalog.cs rename to src/Yavsc/Migrations/2016/20160916075415_estimateFreeFromCatalog.cs diff --git a/src/Yavsc/Migrations/20160917010249_yaev.Designer.cs b/src/Yavsc/Migrations/2016/20160917010249_yaev.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160917010249_yaev.Designer.cs rename to src/Yavsc/Migrations/2016/20160917010249_yaev.Designer.cs diff --git a/src/Yavsc/Migrations/20160917010249_yaev.cs b/src/Yavsc/Migrations/2016/20160917010249_yaev.cs similarity index 100% rename from src/Yavsc/Migrations/20160917010249_yaev.cs rename to src/Yavsc/Migrations/2016/20160917010249_yaev.cs diff --git a/src/Yavsc/Migrations/20160920215459_avatar.Designer.cs b/src/Yavsc/Migrations/2016/20160920215459_avatar.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20160920215459_avatar.Designer.cs rename to src/Yavsc/Migrations/2016/20160920215459_avatar.Designer.cs diff --git a/src/Yavsc/Migrations/20160920215459_avatar.cs b/src/Yavsc/Migrations/2016/20160920215459_avatar.cs similarity index 100% rename from src/Yavsc/Migrations/20160920215459_avatar.cs rename to src/Yavsc/Migrations/2016/20160920215459_avatar.cs diff --git a/src/Yavsc/Migrations/20161010102616_recontact.Designer.cs b/src/Yavsc/Migrations/2016/20161010102616_recontact.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161010102616_recontact.Designer.cs rename to src/Yavsc/Migrations/2016/20161010102616_recontact.Designer.cs diff --git a/src/Yavsc/Migrations/20161010102616_recontact.cs b/src/Yavsc/Migrations/2016/20161010102616_recontact.cs similarity index 100% rename from src/Yavsc/Migrations/20161010102616_recontact.cs rename to src/Yavsc/Migrations/2016/20161010102616_recontact.cs diff --git a/src/Yavsc/Migrations/20161020143022_estimateClientApprouval.Designer.cs b/src/Yavsc/Migrations/2016/20161020143022_estimateClientApprouval.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161020143022_estimateClientApprouval.Designer.cs rename to src/Yavsc/Migrations/2016/20161020143022_estimateClientApprouval.Designer.cs diff --git a/src/Yavsc/Migrations/20161020143022_estimateClientApprouval.cs b/src/Yavsc/Migrations/2016/20161020143022_estimateClientApprouval.cs similarity index 100% rename from src/Yavsc/Migrations/20161020143022_estimateClientApprouval.cs rename to src/Yavsc/Migrations/2016/20161020143022_estimateClientApprouval.cs diff --git a/src/Yavsc/Migrations/20161020212947_userAddress.Designer.cs b/src/Yavsc/Migrations/2016/20161020212947_userAddress.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161020212947_userAddress.Designer.cs rename to src/Yavsc/Migrations/2016/20161020212947_userAddress.Designer.cs diff --git a/src/Yavsc/Migrations/20161020212947_userAddress.cs b/src/Yavsc/Migrations/2016/20161020212947_userAddress.cs similarity index 100% rename from src/Yavsc/Migrations/20161020212947_userAddress.cs rename to src/Yavsc/Migrations/2016/20161020212947_userAddress.cs diff --git a/src/Yavsc/Migrations/20161021153306_estimateLines.Designer.cs b/src/Yavsc/Migrations/2016/20161021153306_estimateLines.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161021153306_estimateLines.Designer.cs rename to src/Yavsc/Migrations/2016/20161021153306_estimateLines.Designer.cs diff --git a/src/Yavsc/Migrations/20161021153306_estimateLines.cs b/src/Yavsc/Migrations/2016/20161021153306_estimateLines.cs similarity index 100% rename from src/Yavsc/Migrations/20161021153306_estimateLines.cs rename to src/Yavsc/Migrations/2016/20161021153306_estimateLines.cs diff --git a/src/Yavsc/Migrations/20161101234703_chatConnection.Designer.cs b/src/Yavsc/Migrations/2016/20161101234703_chatConnection.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161101234703_chatConnection.Designer.cs rename to src/Yavsc/Migrations/2016/20161101234703_chatConnection.Designer.cs diff --git a/src/Yavsc/Migrations/20161101234703_chatConnection.cs b/src/Yavsc/Migrations/2016/20161101234703_chatConnection.cs similarity index 100% rename from src/Yavsc/Migrations/20161101234703_chatConnection.cs rename to src/Yavsc/Migrations/2016/20161101234703_chatConnection.cs diff --git a/src/Yavsc/Migrations/20161102132129_fixCxOwner.Designer.cs b/src/Yavsc/Migrations/2016/20161102132129_fixCxOwner.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161102132129_fixCxOwner.Designer.cs rename to src/Yavsc/Migrations/2016/20161102132129_fixCxOwner.Designer.cs diff --git a/src/Yavsc/Migrations/20161102132129_fixCxOwner.cs b/src/Yavsc/Migrations/2016/20161102132129_fixCxOwner.cs similarity index 100% rename from src/Yavsc/Migrations/20161102132129_fixCxOwner.cs rename to src/Yavsc/Migrations/2016/20161102132129_fixCxOwner.cs diff --git a/src/Yavsc/Migrations/20161102133253_fix2CxOwner.Designer.cs b/src/Yavsc/Migrations/2016/20161102133253_fix2CxOwner.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161102133253_fix2CxOwner.Designer.cs rename to src/Yavsc/Migrations/2016/20161102133253_fix2CxOwner.Designer.cs diff --git a/src/Yavsc/Migrations/20161102133253_fix2CxOwner.cs b/src/Yavsc/Migrations/2016/20161102133253_fix2CxOwner.cs similarity index 100% rename from src/Yavsc/Migrations/20161102133253_fix2CxOwner.cs rename to src/Yavsc/Migrations/2016/20161102133253_fix2CxOwner.cs diff --git a/src/Yavsc/Migrations/20161104090806_bankUserProfile.Designer.cs b/src/Yavsc/Migrations/2016/20161104090806_bankUserProfile.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161104090806_bankUserProfile.Designer.cs rename to src/Yavsc/Migrations/2016/20161104090806_bankUserProfile.Designer.cs diff --git a/src/Yavsc/Migrations/20161104090806_bankUserProfile.cs b/src/Yavsc/Migrations/2016/20161104090806_bankUserProfile.cs similarity index 100% rename from src/Yavsc/Migrations/20161104090806_bankUserProfile.cs rename to src/Yavsc/Migrations/2016/20161104090806_bankUserProfile.cs diff --git a/src/Yavsc/Migrations/20161104164949_dropEstimateStatus.Designer.cs b/src/Yavsc/Migrations/2016/20161104164949_dropEstimateStatus.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161104164949_dropEstimateStatus.Designer.cs rename to src/Yavsc/Migrations/2016/20161104164949_dropEstimateStatus.Designer.cs diff --git a/src/Yavsc/Migrations/20161104164949_dropEstimateStatus.cs b/src/Yavsc/Migrations/2016/20161104164949_dropEstimateStatus.cs similarity index 100% rename from src/Yavsc/Migrations/20161104164949_dropEstimateStatus.cs rename to src/Yavsc/Migrations/2016/20161104164949_dropEstimateStatus.cs diff --git a/src/Yavsc/Migrations/20161123235323_estimatesignatures.Designer.cs b/src/Yavsc/Migrations/2016/20161123235323_estimatesignatures.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161123235323_estimatesignatures.Designer.cs rename to src/Yavsc/Migrations/2016/20161123235323_estimatesignatures.Designer.cs diff --git a/src/Yavsc/Migrations/20161123235323_estimatesignatures.cs b/src/Yavsc/Migrations/2016/20161123235323_estimatesignatures.cs similarity index 100% rename from src/Yavsc/Migrations/20161123235323_estimatesignatures.cs rename to src/Yavsc/Migrations/2016/20161123235323_estimatesignatures.cs diff --git a/src/Yavsc/Migrations/20161130084909_diskQuota.Designer.cs b/src/Yavsc/Migrations/2016/20161130084909_diskQuota.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161130084909_diskQuota.Designer.cs rename to src/Yavsc/Migrations/2016/20161130084909_diskQuota.Designer.cs diff --git a/src/Yavsc/Migrations/20161130084909_diskQuota.cs b/src/Yavsc/Migrations/2016/20161130084909_diskQuota.cs similarity index 100% rename from src/Yavsc/Migrations/20161130084909_diskQuota.cs rename to src/Yavsc/Migrations/2016/20161130084909_diskQuota.cs diff --git a/src/Yavsc/Migrations/20161209121035_bookQueryReason.Designer.cs b/src/Yavsc/Migrations/2016/20161209121035_bookQueryReason.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161209121035_bookQueryReason.Designer.cs rename to src/Yavsc/Migrations/2016/20161209121035_bookQueryReason.Designer.cs diff --git a/src/Yavsc/Migrations/20161209121035_bookQueryReason.cs b/src/Yavsc/Migrations/2016/20161209121035_bookQueryReason.cs similarity index 100% rename from src/Yavsc/Migrations/20161209121035_bookQueryReason.cs rename to src/Yavsc/Migrations/2016/20161209121035_bookQueryReason.cs diff --git a/src/Yavsc/Migrations/20161231163016_musicalPreferences.Designer.cs b/src/Yavsc/Migrations/2016/20161231163016_musicalPreferences.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20161231163016_musicalPreferences.Designer.cs rename to src/Yavsc/Migrations/2016/20161231163016_musicalPreferences.Designer.cs diff --git a/src/Yavsc/Migrations/20161231163016_musicalPreferences.cs b/src/Yavsc/Migrations/2016/20161231163016_musicalPreferences.cs similarity index 100% rename from src/Yavsc/Migrations/20161231163016_musicalPreferences.cs rename to src/Yavsc/Migrations/2016/20161231163016_musicalPreferences.cs diff --git a/src/Yavsc/Migrations/20170102140332_musicalTendencies.Designer.cs b/src/Yavsc/Migrations/2017/20170102140332_musicalTendencies.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170102140332_musicalTendencies.Designer.cs rename to src/Yavsc/Migrations/2017/20170102140332_musicalTendencies.Designer.cs diff --git a/src/Yavsc/Migrations/20170102140332_musicalTendencies.cs b/src/Yavsc/Migrations/2017/20170102140332_musicalTendencies.cs similarity index 100% rename from src/Yavsc/Migrations/20170102140332_musicalTendencies.cs rename to src/Yavsc/Migrations/2017/20170102140332_musicalTendencies.cs diff --git a/src/Yavsc/Migrations/20170102152745_locationTypes.Designer.cs b/src/Yavsc/Migrations/2017/20170102152745_locationTypes.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170102152745_locationTypes.Designer.cs rename to src/Yavsc/Migrations/2017/20170102152745_locationTypes.Designer.cs diff --git a/src/Yavsc/Migrations/20170102152745_locationTypes.cs b/src/Yavsc/Migrations/2017/20170102152745_locationTypes.cs similarity index 100% rename from src/Yavsc/Migrations/20170102152745_locationTypes.cs rename to src/Yavsc/Migrations/2017/20170102152745_locationTypes.cs diff --git a/src/Yavsc/Migrations/20170106092028_WFActivityParentAndProfiles.Designer.cs b/src/Yavsc/Migrations/2017/20170106092028_WFActivityParentAndProfiles.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170106092028_WFActivityParentAndProfiles.Designer.cs rename to src/Yavsc/Migrations/2017/20170106092028_WFActivityParentAndProfiles.Designer.cs diff --git a/src/Yavsc/Migrations/20170106092028_WFActivityParentAndProfiles.cs b/src/Yavsc/Migrations/2017/20170106092028_WFActivityParentAndProfiles.cs similarity index 100% rename from src/Yavsc/Migrations/20170106092028_WFActivityParentAndProfiles.cs rename to src/Yavsc/Migrations/2017/20170106092028_WFActivityParentAndProfiles.cs diff --git a/src/Yavsc/Migrations/20170106113614_ownerProfile.Designer.cs b/src/Yavsc/Migrations/2017/20170106113614_ownerProfile.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170106113614_ownerProfile.Designer.cs rename to src/Yavsc/Migrations/2017/20170106113614_ownerProfile.Designer.cs diff --git a/src/Yavsc/Migrations/20170106113614_ownerProfile.cs b/src/Yavsc/Migrations/2017/20170106113614_ownerProfile.cs similarity index 100% rename from src/Yavsc/Migrations/20170106113614_ownerProfile.cs rename to src/Yavsc/Migrations/2017/20170106113614_ownerProfile.cs diff --git a/src/Yavsc/Migrations/20170106122307_Instruments.Designer.cs b/src/Yavsc/Migrations/2017/20170106122307_Instruments.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170106122307_Instruments.Designer.cs rename to src/Yavsc/Migrations/2017/20170106122307_Instruments.Designer.cs diff --git a/src/Yavsc/Migrations/20170106122307_Instruments.cs b/src/Yavsc/Migrations/2017/20170106122307_Instruments.cs similarity index 100% rename from src/Yavsc/Migrations/20170106122307_Instruments.cs rename to src/Yavsc/Migrations/2017/20170106122307_Instruments.cs diff --git a/src/Yavsc/Migrations/20170106124548_instrumentation.Designer.cs b/src/Yavsc/Migrations/2017/20170106124548_instrumentation.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170106124548_instrumentation.Designer.cs rename to src/Yavsc/Migrations/2017/20170106124548_instrumentation.Designer.cs diff --git a/src/Yavsc/Migrations/20170106124548_instrumentation.cs b/src/Yavsc/Migrations/2017/20170106124548_instrumentation.cs similarity index 100% rename from src/Yavsc/Migrations/20170106124548_instrumentation.cs rename to src/Yavsc/Migrations/2017/20170106124548_instrumentation.cs diff --git a/src/Yavsc/Migrations/20170106144035_activityRate.Designer.cs b/src/Yavsc/Migrations/2017/20170106144035_activityRate.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170106144035_activityRate.Designer.cs rename to src/Yavsc/Migrations/2017/20170106144035_activityRate.Designer.cs diff --git a/src/Yavsc/Migrations/20170106144035_activityRate.cs b/src/Yavsc/Migrations/2017/20170106144035_activityRate.cs similarity index 100% rename from src/Yavsc/Migrations/20170106144035_activityRate.cs rename to src/Yavsc/Migrations/2017/20170106144035_activityRate.cs diff --git a/src/Yavsc/Migrations/20170106235954_weight.Designer.cs b/src/Yavsc/Migrations/2017/20170106235954_weight.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170106235954_weight.Designer.cs rename to src/Yavsc/Migrations/2017/20170106235954_weight.Designer.cs diff --git a/src/Yavsc/Migrations/20170106235954_weight.cs b/src/Yavsc/Migrations/2017/20170106235954_weight.cs similarity index 100% rename from src/Yavsc/Migrations/20170106235954_weight.cs rename to src/Yavsc/Migrations/2017/20170106235954_weight.cs diff --git a/src/Yavsc/Migrations/20170107004233_userActivitiesValidity.Designer.cs b/src/Yavsc/Migrations/2017/20170107004233_userActivitiesValidity.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170107004233_userActivitiesValidity.Designer.cs rename to src/Yavsc/Migrations/2017/20170107004233_userActivitiesValidity.Designer.cs diff --git a/src/Yavsc/Migrations/20170107004233_userActivitiesValidity.cs b/src/Yavsc/Migrations/2017/20170107004233_userActivitiesValidity.cs similarity index 100% rename from src/Yavsc/Migrations/20170107004233_userActivitiesValidity.cs rename to src/Yavsc/Migrations/2017/20170107004233_userActivitiesValidity.cs diff --git a/src/Yavsc/Migrations/20170113022807_SettingsClassName.Designer.cs b/src/Yavsc/Migrations/2017/20170113022807_SettingsClassName.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170113022807_SettingsClassName.Designer.cs rename to src/Yavsc/Migrations/2017/20170113022807_SettingsClassName.Designer.cs diff --git a/src/Yavsc/Migrations/20170113022807_SettingsClassName.cs b/src/Yavsc/Migrations/2017/20170113022807_SettingsClassName.cs similarity index 100% rename from src/Yavsc/Migrations/20170113022807_SettingsClassName.cs rename to src/Yavsc/Migrations/2017/20170113022807_SettingsClassName.cs diff --git a/src/Yavsc/Migrations/20170113150714_instrumentationReloaded.Designer.cs b/src/Yavsc/Migrations/2017/20170113150714_instrumentationReloaded.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170113150714_instrumentationReloaded.Designer.cs rename to src/Yavsc/Migrations/2017/20170113150714_instrumentationReloaded.Designer.cs diff --git a/src/Yavsc/Migrations/20170113150714_instrumentationReloaded.cs b/src/Yavsc/Migrations/2017/20170113150714_instrumentationReloaded.cs similarity index 100% rename from src/Yavsc/Migrations/20170113150714_instrumentationReloaded.cs rename to src/Yavsc/Migrations/2017/20170113150714_instrumentationReloaded.cs diff --git a/src/Yavsc/Migrations/20170116002541_bookQueryActivityCode.Designer.cs b/src/Yavsc/Migrations/2017/20170116002541_bookQueryActivityCode.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170116002541_bookQueryActivityCode.Designer.cs rename to src/Yavsc/Migrations/2017/20170116002541_bookQueryActivityCode.Designer.cs diff --git a/src/Yavsc/Migrations/20170116002541_bookQueryActivityCode.cs b/src/Yavsc/Migrations/2017/20170116002541_bookQueryActivityCode.cs similarity index 100% rename from src/Yavsc/Migrations/20170116002541_bookQueryActivityCode.cs rename to src/Yavsc/Migrations/2017/20170116002541_bookQueryActivityCode.cs diff --git a/src/Yavsc/Migrations/20170116154735_refactPrproAllowGeo.Designer.cs b/src/Yavsc/Migrations/2017/20170116154735_refactPrproAllowGeo.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170116154735_refactPrproAllowGeo.Designer.cs rename to src/Yavsc/Migrations/2017/20170116154735_refactPrproAllowGeo.Designer.cs diff --git a/src/Yavsc/Migrations/20170116154735_refactPrproAllowGeo.cs b/src/Yavsc/Migrations/2017/20170116154735_refactPrproAllowGeo.cs similarity index 100% rename from src/Yavsc/Migrations/20170116154735_refactPrproAllowGeo.cs rename to src/Yavsc/Migrations/2017/20170116154735_refactPrproAllowGeo.cs diff --git a/src/Yavsc/Migrations/20170117134339_entityTracking.Designer.cs b/src/Yavsc/Migrations/2017/20170117134339_entityTracking.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170117134339_entityTracking.Designer.cs rename to src/Yavsc/Migrations/2017/20170117134339_entityTracking.Designer.cs diff --git a/src/Yavsc/Migrations/20170117134339_entityTracking.cs b/src/Yavsc/Migrations/2017/20170117134339_entityTracking.cs similarity index 100% rename from src/Yavsc/Migrations/20170117134339_entityTracking.cs rename to src/Yavsc/Migrations/2017/20170117134339_entityTracking.cs diff --git a/src/Yavsc/Migrations/20170120095258_blogAcl.Designer.cs b/src/Yavsc/Migrations/2017/20170120095258_blogAcl.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170120095258_blogAcl.Designer.cs rename to src/Yavsc/Migrations/2017/20170120095258_blogAcl.Designer.cs diff --git a/src/Yavsc/Migrations/20170120095258_blogAcl.cs b/src/Yavsc/Migrations/2017/20170120095258_blogAcl.cs similarity index 100% rename from src/Yavsc/Migrations/20170120095258_blogAcl.cs rename to src/Yavsc/Migrations/2017/20170120095258_blogAcl.cs diff --git a/src/Yavsc/Migrations/20170120122324_queryTraking.Designer.cs b/src/Yavsc/Migrations/2017/20170120122324_queryTraking.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170120122324_queryTraking.Designer.cs rename to src/Yavsc/Migrations/2017/20170120122324_queryTraking.Designer.cs diff --git a/src/Yavsc/Migrations/20170120122324_queryTraking.cs b/src/Yavsc/Migrations/2017/20170120122324_queryTraking.cs similarity index 100% rename from src/Yavsc/Migrations/20170120122324_queryTraking.cs rename to src/Yavsc/Migrations/2017/20170120122324_queryTraking.cs diff --git a/src/Yavsc/Migrations/20170122160343_circlesMemberRefact.Designer.cs b/src/Yavsc/Migrations/2017/20170122160343_circlesMemberRefact.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170122160343_circlesMemberRefact.Designer.cs rename to src/Yavsc/Migrations/2017/20170122160343_circlesMemberRefact.Designer.cs diff --git a/src/Yavsc/Migrations/20170122160343_circlesMemberRefact.cs b/src/Yavsc/Migrations/2017/20170122160343_circlesMemberRefact.cs similarity index 100% rename from src/Yavsc/Migrations/20170122160343_circlesMemberRefact.cs rename to src/Yavsc/Migrations/2017/20170122160343_circlesMemberRefact.cs diff --git a/src/Yavsc/Migrations/20170124090324_commandForms.Designer.cs b/src/Yavsc/Migrations/2017/20170124090324_commandForms.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170124090324_commandForms.Designer.cs rename to src/Yavsc/Migrations/2017/20170124090324_commandForms.Designer.cs diff --git a/src/Yavsc/Migrations/20170124090324_commandForms.cs b/src/Yavsc/Migrations/2017/20170124090324_commandForms.cs similarity index 100% rename from src/Yavsc/Migrations/20170124090324_commandForms.cs rename to src/Yavsc/Migrations/2017/20170124090324_commandForms.cs diff --git a/src/Yavsc/Migrations/20170126152454_trackActivity.Designer.cs b/src/Yavsc/Migrations/2017/20170126152454_trackActivity.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170126152454_trackActivity.Designer.cs rename to src/Yavsc/Migrations/2017/20170126152454_trackActivity.Designer.cs diff --git a/src/Yavsc/Migrations/20170126152454_trackActivity.cs b/src/Yavsc/Migrations/2017/20170126152454_trackActivity.cs similarity index 100% rename from src/Yavsc/Migrations/20170126152454_trackActivity.cs rename to src/Yavsc/Migrations/2017/20170126152454_trackActivity.cs diff --git a/src/Yavsc/Migrations/20170126152651_renameActViewNameToAction.Designer.cs b/src/Yavsc/Migrations/2017/20170126152651_renameActViewNameToAction.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170126152651_renameActViewNameToAction.Designer.cs rename to src/Yavsc/Migrations/2017/20170126152651_renameActViewNameToAction.Designer.cs diff --git a/src/Yavsc/Migrations/20170126152651_renameActViewNameToAction.cs b/src/Yavsc/Migrations/2017/20170126152651_renameActViewNameToAction.cs similarity index 100% rename from src/Yavsc/Migrations/20170126152651_renameActViewNameToAction.cs rename to src/Yavsc/Migrations/2017/20170126152651_renameActViewNameToAction.cs diff --git a/src/Yavsc/Migrations/20170201002133_blacklisted.Designer.cs b/src/Yavsc/Migrations/2017/20170201002133_blacklisted.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170201002133_blacklisted.Designer.cs rename to src/Yavsc/Migrations/2017/20170201002133_blacklisted.Designer.cs diff --git a/src/Yavsc/Migrations/20170201002133_blacklisted.cs b/src/Yavsc/Migrations/2017/20170201002133_blacklisted.cs similarity index 100% rename from src/Yavsc/Migrations/20170201002133_blacklisted.cs rename to src/Yavsc/Migrations/2017/20170201002133_blacklisted.cs diff --git a/src/Yavsc/Migrations/20170201162847_defaultAvatar.Designer.cs b/src/Yavsc/Migrations/2017/20170201162847_defaultAvatar.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170201162847_defaultAvatar.Designer.cs rename to src/Yavsc/Migrations/2017/20170201162847_defaultAvatar.Designer.cs diff --git a/src/Yavsc/Migrations/20170201162847_defaultAvatar.cs b/src/Yavsc/Migrations/2017/20170201162847_defaultAvatar.cs similarity index 100% rename from src/Yavsc/Migrations/20170201162847_defaultAvatar.cs rename to src/Yavsc/Migrations/2017/20170201162847_defaultAvatar.cs diff --git a/src/Yavsc/Migrations/20170202102936_defaultDiskQuota.Designer.cs b/src/Yavsc/Migrations/2017/20170202102936_defaultDiskQuota.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170202102936_defaultDiskQuota.Designer.cs rename to src/Yavsc/Migrations/2017/20170202102936_defaultDiskQuota.Designer.cs diff --git a/src/Yavsc/Migrations/20170202102936_defaultDiskQuota.cs b/src/Yavsc/Migrations/2017/20170202102936_defaultDiskQuota.cs similarity index 100% rename from src/Yavsc/Migrations/20170202102936_defaultDiskQuota.cs rename to src/Yavsc/Migrations/2017/20170202102936_defaultDiskQuota.cs diff --git a/src/Yavsc/Migrations/20170212005346_haircut.Designer.cs b/src/Yavsc/Migrations/2017/20170212005346_haircut.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170212005346_haircut.Designer.cs rename to src/Yavsc/Migrations/2017/20170212005346_haircut.Designer.cs diff --git a/src/Yavsc/Migrations/20170212005346_haircut.cs b/src/Yavsc/Migrations/2017/20170212005346_haircut.cs similarity index 100% rename from src/Yavsc/Migrations/20170212005346_haircut.cs rename to src/Yavsc/Migrations/2017/20170212005346_haircut.cs diff --git a/src/Yavsc/Migrations/20170217221646_bookQueryStatus.Designer.cs b/src/Yavsc/Migrations/2017/20170217221646_bookQueryStatus.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170217221646_bookQueryStatus.Designer.cs rename to src/Yavsc/Migrations/2017/20170217221646_bookQueryStatus.Designer.cs diff --git a/src/Yavsc/Migrations/20170217221646_bookQueryStatus.cs b/src/Yavsc/Migrations/2017/20170217221646_bookQueryStatus.cs similarity index 100% rename from src/Yavsc/Migrations/20170217221646_bookQueryStatus.cs rename to src/Yavsc/Migrations/2017/20170217221646_bookQueryStatus.cs diff --git a/src/Yavsc/Migrations/20170220102125_notifications.Designer.cs b/src/Yavsc/Migrations/2017/20170220102125_notifications.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170220102125_notifications.Designer.cs rename to src/Yavsc/Migrations/2017/20170220102125_notifications.Designer.cs diff --git a/src/Yavsc/Migrations/20170220102125_notifications.cs b/src/Yavsc/Migrations/2017/20170220102125_notifications.cs similarity index 100% rename from src/Yavsc/Migrations/20170220102125_notifications.cs rename to src/Yavsc/Migrations/2017/20170220102125_notifications.cs diff --git a/src/Yavsc/Migrations/20170220125518_dimissclick.Designer.cs b/src/Yavsc/Migrations/2017/20170220125518_dimissclick.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170220125518_dimissclick.Designer.cs rename to src/Yavsc/Migrations/2017/20170220125518_dimissclick.Designer.cs diff --git a/src/Yavsc/Migrations/20170220125518_dimissclick.cs b/src/Yavsc/Migrations/2017/20170220125518_dimissclick.cs similarity index 100% rename from src/Yavsc/Migrations/20170220125518_dimissclick.cs rename to src/Yavsc/Migrations/2017/20170220125518_dimissclick.cs diff --git a/src/Yavsc/Migrations/20170220144141_hiddenActivity.Designer.cs b/src/Yavsc/Migrations/2017/20170220144141_hiddenActivity.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170220144141_hiddenActivity.Designer.cs rename to src/Yavsc/Migrations/2017/20170220144141_hiddenActivity.Designer.cs diff --git a/src/Yavsc/Migrations/20170220144141_hiddenActivity.cs b/src/Yavsc/Migrations/2017/20170220144141_hiddenActivity.cs similarity index 100% rename from src/Yavsc/Migrations/20170220144141_hiddenActivity.cs rename to src/Yavsc/Migrations/2017/20170220144141_hiddenActivity.cs diff --git a/src/Yavsc/Migrations/20170227151759_hairPrestations.Designer.cs b/src/Yavsc/Migrations/2017/20170227151759_hairPrestations.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170227151759_hairPrestations.Designer.cs rename to src/Yavsc/Migrations/2017/20170227151759_hairPrestations.Designer.cs diff --git a/src/Yavsc/Migrations/20170227151759_hairPrestations.cs b/src/Yavsc/Migrations/2017/20170227151759_hairPrestations.cs similarity index 100% rename from src/Yavsc/Migrations/20170227151759_hairPrestations.cs rename to src/Yavsc/Migrations/2017/20170227151759_hairPrestations.cs diff --git a/src/Yavsc/Migrations/20170228115359_brusherProfile.Designer.cs b/src/Yavsc/Migrations/2017/20170228115359_brusherProfile.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170228115359_brusherProfile.Designer.cs rename to src/Yavsc/Migrations/2017/20170228115359_brusherProfile.Designer.cs diff --git a/src/Yavsc/Migrations/20170228115359_brusherProfile.cs b/src/Yavsc/Migrations/2017/20170228115359_brusherProfile.cs similarity index 100% rename from src/Yavsc/Migrations/20170228115359_brusherProfile.cs rename to src/Yavsc/Migrations/2017/20170228115359_brusherProfile.cs diff --git a/src/Yavsc/Migrations/20170228145057_actionName.Designer.cs b/src/Yavsc/Migrations/2017/20170228145057_actionName.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170228145057_actionName.Designer.cs rename to src/Yavsc/Migrations/2017/20170228145057_actionName.Designer.cs diff --git a/src/Yavsc/Migrations/20170228145057_actionName.cs b/src/Yavsc/Migrations/2017/20170228145057_actionName.cs similarity index 100% rename from src/Yavsc/Migrations/20170228145057_actionName.cs rename to src/Yavsc/Migrations/2017/20170228145057_actionName.cs diff --git a/src/Yavsc/Migrations/20170301124608_brusherActiondistance.Designer.cs b/src/Yavsc/Migrations/2017/20170301124608_brusherActiondistance.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170301124608_brusherActiondistance.Designer.cs rename to src/Yavsc/Migrations/2017/20170301124608_brusherActiondistance.Designer.cs diff --git a/src/Yavsc/Migrations/20170301124608_brusherActiondistance.cs b/src/Yavsc/Migrations/2017/20170301124608_brusherActiondistance.cs similarity index 100% rename from src/Yavsc/Migrations/20170301124608_brusherActiondistance.cs rename to src/Yavsc/Migrations/2017/20170301124608_brusherActiondistance.cs diff --git a/src/Yavsc/Migrations/20170301132531_manbrushing.Designer.cs b/src/Yavsc/Migrations/2017/20170301132531_manbrushing.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170301132531_manbrushing.Designer.cs rename to src/Yavsc/Migrations/2017/20170301132531_manbrushing.Designer.cs diff --git a/src/Yavsc/Migrations/20170301132531_manbrushing.cs b/src/Yavsc/Migrations/2017/20170301132531_manbrushing.cs similarity index 100% rename from src/Yavsc/Migrations/20170301132531_manbrushing.cs rename to src/Yavsc/Migrations/2017/20170301132531_manbrushing.cs diff --git a/src/Yavsc/Migrations/20170301211317_folding.Designer.cs b/src/Yavsc/Migrations/2017/20170301211317_folding.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170301211317_folding.Designer.cs rename to src/Yavsc/Migrations/2017/20170301211317_folding.Designer.cs diff --git a/src/Yavsc/Migrations/20170301211317_folding.cs b/src/Yavsc/Migrations/2017/20170301211317_folding.cs similarity index 100% rename from src/Yavsc/Migrations/20170301211317_folding.cs rename to src/Yavsc/Migrations/2017/20170301211317_folding.cs diff --git a/src/Yavsc/Migrations/20170302122929_brusherProfileDiscount.Designer.cs b/src/Yavsc/Migrations/2017/20170302122929_brusherProfileDiscount.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170302122929_brusherProfileDiscount.Designer.cs rename to src/Yavsc/Migrations/2017/20170302122929_brusherProfileDiscount.Designer.cs diff --git a/src/Yavsc/Migrations/20170302122929_brusherProfileDiscount.cs b/src/Yavsc/Migrations/2017/20170302122929_brusherProfileDiscount.cs similarity index 100% rename from src/Yavsc/Migrations/20170302122929_brusherProfileDiscount.cs rename to src/Yavsc/Migrations/2017/20170302122929_brusherProfileDiscount.cs diff --git a/src/Yavsc/Migrations/20170303000800_estimateRequireCommandType.Designer.cs b/src/Yavsc/Migrations/2017/20170303000800_estimateRequireCommandType.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170303000800_estimateRequireCommandType.Designer.cs rename to src/Yavsc/Migrations/2017/20170303000800_estimateRequireCommandType.Designer.cs diff --git a/src/Yavsc/Migrations/20170303000800_estimateRequireCommandType.cs b/src/Yavsc/Migrations/2017/20170303000800_estimateRequireCommandType.cs similarity index 100% rename from src/Yavsc/Migrations/20170303000800_estimateRequireCommandType.cs rename to src/Yavsc/Migrations/2017/20170303000800_estimateRequireCommandType.cs diff --git a/src/Yavsc/Migrations/20170317213255_cxRequiresUserName.Designer.cs b/src/Yavsc/Migrations/2017/20170317213255_cxRequiresUserName.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170317213255_cxRequiresUserName.Designer.cs rename to src/Yavsc/Migrations/2017/20170317213255_cxRequiresUserName.Designer.cs diff --git a/src/Yavsc/Migrations/20170317213255_cxRequiresUserName.cs b/src/Yavsc/Migrations/2017/20170317213255_cxRequiresUserName.cs similarity index 100% rename from src/Yavsc/Migrations/20170317213255_cxRequiresUserName.cs rename to src/Yavsc/Migrations/2017/20170317213255_cxRequiresUserName.cs diff --git a/src/Yavsc/Migrations/20170329075249_avatarMayBeNull.Designer.cs b/src/Yavsc/Migrations/2017/20170329075249_avatarMayBeNull.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170329075249_avatarMayBeNull.Designer.cs rename to src/Yavsc/Migrations/2017/20170329075249_avatarMayBeNull.Designer.cs diff --git a/src/Yavsc/Migrations/20170329075249_avatarMayBeNull.cs b/src/Yavsc/Migrations/2017/20170329075249_avatarMayBeNull.cs similarity index 100% rename from src/Yavsc/Migrations/20170329075249_avatarMayBeNull.cs rename to src/Yavsc/Migrations/2017/20170329075249_avatarMayBeNull.cs diff --git a/src/Yavsc/Migrations/20170331214327_rdvqueryAndNoLocationNorDate.Designer.cs b/src/Yavsc/Migrations/2017/20170331214327_rdvqueryAndNoLocationNorDate.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170331214327_rdvqueryAndNoLocationNorDate.Designer.cs rename to src/Yavsc/Migrations/2017/20170331214327_rdvqueryAndNoLocationNorDate.Designer.cs diff --git a/src/Yavsc/Migrations/20170331214327_rdvqueryAndNoLocationNorDate.cs b/src/Yavsc/Migrations/2017/20170331214327_rdvqueryAndNoLocationNorDate.cs similarity index 100% rename from src/Yavsc/Migrations/20170331214327_rdvqueryAndNoLocationNorDate.cs rename to src/Yavsc/Migrations/2017/20170331214327_rdvqueryAndNoLocationNorDate.cs diff --git a/src/Yavsc/Migrations/20170408055642_haircutqueryAdditionalInfo.Designer.cs b/src/Yavsc/Migrations/2017/20170408055642_haircutqueryAdditionalInfo.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170408055642_haircutqueryAdditionalInfo.Designer.cs rename to src/Yavsc/Migrations/2017/20170408055642_haircutqueryAdditionalInfo.Designer.cs diff --git a/src/Yavsc/Migrations/20170408055642_haircutqueryAdditionalInfo.cs b/src/Yavsc/Migrations/2017/20170408055642_haircutqueryAdditionalInfo.cs similarity index 100% rename from src/Yavsc/Migrations/20170408055642_haircutqueryAdditionalInfo.cs rename to src/Yavsc/Migrations/2017/20170408055642_haircutqueryAdditionalInfo.cs diff --git a/src/Yavsc/Migrations/20170409004555_haircutCommandTaints.Designer.cs b/src/Yavsc/Migrations/2017/20170409004555_haircutCommandTaints.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170409004555_haircutCommandTaints.Designer.cs rename to src/Yavsc/Migrations/2017/20170409004555_haircutCommandTaints.Designer.cs diff --git a/src/Yavsc/Migrations/20170409004555_haircutCommandTaints.cs b/src/Yavsc/Migrations/2017/20170409004555_haircutCommandTaints.cs similarity index 100% rename from src/Yavsc/Migrations/20170409004555_haircutCommandTaints.cs rename to src/Yavsc/Migrations/2017/20170409004555_haircutCommandTaints.cs diff --git a/src/Yavsc/Migrations/20170507200834_paypal.Designer.cs b/src/Yavsc/Migrations/2017/20170507200834_paypal.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170507200834_paypal.Designer.cs rename to src/Yavsc/Migrations/2017/20170507200834_paypal.Designer.cs diff --git a/src/Yavsc/Migrations/20170507200834_paypal.cs b/src/Yavsc/Migrations/2017/20170507200834_paypal.cs similarity index 100% rename from src/Yavsc/Migrations/20170507200834_paypal.cs rename to src/Yavsc/Migrations/2017/20170507200834_paypal.cs diff --git a/src/Yavsc/Migrations/20170510121057_hairCutPaypalPayment.Designer.cs b/src/Yavsc/Migrations/2017/20170510121057_hairCutPaypalPayment.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170510121057_hairCutPaypalPayment.Designer.cs rename to src/Yavsc/Migrations/2017/20170510121057_hairCutPaypalPayment.Designer.cs diff --git a/src/Yavsc/Migrations/20170510121057_hairCutPaypalPayment.cs b/src/Yavsc/Migrations/2017/20170510121057_hairCutPaypalPayment.cs similarity index 100% rename from src/Yavsc/Migrations/20170510121057_hairCutPaypalPayment.cs rename to src/Yavsc/Migrations/2017/20170510121057_hairCutPaypalPayment.cs diff --git a/src/Yavsc/Migrations/20170512102508_hairCutBill.Designer.cs b/src/Yavsc/Migrations/2017/20170512102508_hairCutBill.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170512102508_hairCutBill.Designer.cs rename to src/Yavsc/Migrations/2017/20170512102508_hairCutBill.Designer.cs diff --git a/src/Yavsc/Migrations/20170512102508_hairCutBill.cs b/src/Yavsc/Migrations/2017/20170512102508_hairCutBill.cs similarity index 100% rename from src/Yavsc/Migrations/20170512102508_hairCutBill.cs rename to src/Yavsc/Migrations/2017/20170512102508_hairCutBill.cs diff --git a/src/Yavsc/Migrations/20170513213829_paypalids.Designer.cs b/src/Yavsc/Migrations/2017/20170513213829_paypalids.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170513213829_paypalids.Designer.cs rename to src/Yavsc/Migrations/2017/20170513213829_paypalids.Designer.cs diff --git a/src/Yavsc/Migrations/20170513213829_paypalids.cs b/src/Yavsc/Migrations/2017/20170513213829_paypalids.cs similarity index 100% rename from src/Yavsc/Migrations/20170513213829_paypalids.cs rename to src/Yavsc/Migrations/2017/20170513213829_paypalids.cs diff --git a/src/Yavsc/Migrations/20170514123122_links.Designer.cs b/src/Yavsc/Migrations/2017/20170514123122_links.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170514123122_links.Designer.cs rename to src/Yavsc/Migrations/2017/20170514123122_links.Designer.cs diff --git a/src/Yavsc/Migrations/20170514123122_links.cs b/src/Yavsc/Migrations/2017/20170514123122_links.cs similarity index 100% rename from src/Yavsc/Migrations/20170514123122_links.cs rename to src/Yavsc/Migrations/2017/20170514123122_links.cs diff --git a/src/Yavsc/Migrations/20170516181745_paymentConsent.Designer.cs b/src/Yavsc/Migrations/2017/20170516181745_paymentConsent.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170516181745_paymentConsent.Designer.cs rename to src/Yavsc/Migrations/2017/20170516181745_paymentConsent.Designer.cs diff --git a/src/Yavsc/Migrations/20170516181745_paymentConsent.cs b/src/Yavsc/Migrations/2017/20170516181745_paymentConsent.cs similarity index 100% rename from src/Yavsc/Migrations/20170516181745_paymentConsent.cs rename to src/Yavsc/Migrations/2017/20170516181745_paymentConsent.cs diff --git a/src/Yavsc/Migrations/20170517001340_notificatioinTarget.Designer.cs b/src/Yavsc/Migrations/2017/20170517001340_notificatioinTarget.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170517001340_notificatioinTarget.Designer.cs rename to src/Yavsc/Migrations/2017/20170517001340_notificatioinTarget.Designer.cs diff --git a/src/Yavsc/Migrations/20170517001340_notificatioinTarget.cs b/src/Yavsc/Migrations/2017/20170517001340_notificatioinTarget.cs similarity index 100% rename from src/Yavsc/Migrations/20170517001340_notificatioinTarget.cs rename to src/Yavsc/Migrations/2017/20170517001340_notificatioinTarget.cs diff --git a/src/Yavsc/Migrations/20170524210924_paypalToDeprecated.Designer.cs b/src/Yavsc/Migrations/2017/20170524210924_paypalToDeprecated.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170524210924_paypalToDeprecated.Designer.cs rename to src/Yavsc/Migrations/2017/20170524210924_paypalToDeprecated.Designer.cs diff --git a/src/Yavsc/Migrations/20170524210924_paypalToDeprecated.cs b/src/Yavsc/Migrations/2017/20170524210924_paypalToDeprecated.cs similarity index 100% rename from src/Yavsc/Migrations/20170524210924_paypalToDeprecated.cs rename to src/Yavsc/Migrations/2017/20170524210924_paypalToDeprecated.cs diff --git a/src/Yavsc/Migrations/20170526020220_rdvPayment.Designer.cs b/src/Yavsc/Migrations/2017/20170526020220_rdvPayment.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170526020220_rdvPayment.Designer.cs rename to src/Yavsc/Migrations/2017/20170526020220_rdvPayment.Designer.cs diff --git a/src/Yavsc/Migrations/20170526020220_rdvPayment.cs b/src/Yavsc/Migrations/2017/20170526020220_rdvPayment.cs similarity index 100% rename from src/Yavsc/Migrations/20170526020220_rdvPayment.cs rename to src/Yavsc/Migrations/2017/20170526020220_rdvPayment.cs diff --git a/src/Yavsc/Migrations/20170601115553_period.Designer.cs b/src/Yavsc/Migrations/2017/20170601115553_period.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170601115553_period.Designer.cs rename to src/Yavsc/Migrations/2017/20170601115553_period.Designer.cs diff --git a/src/Yavsc/Migrations/20170601115553_period.cs b/src/Yavsc/Migrations/2017/20170601115553_period.cs similarity index 100% rename from src/Yavsc/Migrations/20170601115553_period.cs rename to src/Yavsc/Migrations/2017/20170601115553_period.cs diff --git a/src/Yavsc/Migrations/20170611141231_BrusherCalendarModel.Designer.cs b/src/Yavsc/Migrations/2017/20170611141231_BrusherCalendarModel.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20170611141231_BrusherCalendarModel.Designer.cs rename to src/Yavsc/Migrations/2017/20170611141231_BrusherCalendarModel.Designer.cs diff --git a/src/Yavsc/Migrations/20170611141231_BrusherCalendarModel.cs b/src/Yavsc/Migrations/2017/20170611141231_BrusherCalendarModel.cs similarity index 100% rename from src/Yavsc/Migrations/20170611141231_BrusherCalendarModel.cs rename to src/Yavsc/Migrations/2017/20170611141231_BrusherCalendarModel.cs diff --git a/src/Yavsc/Migrations/20171002023107_Features.Designer.cs b/src/Yavsc/Migrations/2017/20171002023107_Features.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171002023107_Features.Designer.cs rename to src/Yavsc/Migrations/2017/20171002023107_Features.Designer.cs diff --git a/src/Yavsc/Migrations/20171002023107_Features.cs b/src/Yavsc/Migrations/2017/20171002023107_Features.cs similarity index 100% rename from src/Yavsc/Migrations/20171002023107_Features.cs rename to src/Yavsc/Migrations/2017/20171002023107_Features.cs diff --git a/src/Yavsc/Migrations/20171002023835_bugs.Designer.cs b/src/Yavsc/Migrations/2017/20171002023835_bugs.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171002023835_bugs.Designer.cs rename to src/Yavsc/Migrations/2017/20171002023835_bugs.Designer.cs diff --git a/src/Yavsc/Migrations/20171002023835_bugs.cs b/src/Yavsc/Migrations/2017/20171002023835_bugs.cs similarity index 100% rename from src/Yavsc/Migrations/20171002023835_bugs.cs rename to src/Yavsc/Migrations/2017/20171002023835_bugs.cs diff --git a/src/Yavsc/Migrations/20171003195221_BlogRename.Designer.cs b/src/Yavsc/Migrations/2017/20171003195221_BlogRename.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171003195221_BlogRename.Designer.cs rename to src/Yavsc/Migrations/2017/20171003195221_BlogRename.Designer.cs diff --git a/src/Yavsc/Migrations/20171003195221_BlogRename.cs b/src/Yavsc/Migrations/2017/20171003195221_BlogRename.cs similarity index 100% rename from src/Yavsc/Migrations/20171003195221_BlogRename.cs rename to src/Yavsc/Migrations/2017/20171003195221_BlogRename.cs diff --git a/src/Yavsc/Migrations/20171003203721_BlogComment.Designer.cs b/src/Yavsc/Migrations/2017/20171003203721_BlogComment.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171003203721_BlogComment.Designer.cs rename to src/Yavsc/Migrations/2017/20171003203721_BlogComment.Designer.cs diff --git a/src/Yavsc/Migrations/20171003203721_BlogComment.cs b/src/Yavsc/Migrations/2017/20171003203721_BlogComment.cs similarity index 100% rename from src/Yavsc/Migrations/20171003203721_BlogComment.cs rename to src/Yavsc/Migrations/2017/20171003203721_BlogComment.cs diff --git a/src/Yavsc/Migrations/20171008184908_annouce.Designer.cs b/src/Yavsc/Migrations/2017/20171008184908_annouce.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171008184908_annouce.Designer.cs rename to src/Yavsc/Migrations/2017/20171008184908_annouce.Designer.cs diff --git a/src/Yavsc/Migrations/20171008184908_annouce.cs b/src/Yavsc/Migrations/2017/20171008184908_annouce.cs similarity index 100% rename from src/Yavsc/Migrations/20171008184908_annouce.cs rename to src/Yavsc/Migrations/2017/20171008184908_annouce.cs diff --git a/src/Yavsc/Migrations/20171008190234_announceAnwer.Designer.cs b/src/Yavsc/Migrations/2017/20171008190234_announceAnwer.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171008190234_announceAnwer.Designer.cs rename to src/Yavsc/Migrations/2017/20171008190234_announceAnwer.Designer.cs diff --git a/src/Yavsc/Migrations/20171008190234_announceAnwer.cs b/src/Yavsc/Migrations/2017/20171008190234_announceAnwer.cs similarity index 100% rename from src/Yavsc/Migrations/20171008190234_announceAnwer.cs rename to src/Yavsc/Migrations/2017/20171008190234_announceAnwer.cs diff --git a/src/Yavsc/Migrations/20171016090837_bugDescription.Designer.cs b/src/Yavsc/Migrations/2017/20171016090837_bugDescription.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171016090837_bugDescription.Designer.cs rename to src/Yavsc/Migrations/2017/20171016090837_bugDescription.Designer.cs diff --git a/src/Yavsc/Migrations/20171016090837_bugDescription.cs b/src/Yavsc/Migrations/2017/20171016090837_bugDescription.cs similarity index 100% rename from src/Yavsc/Migrations/20171016090837_bugDescription.cs rename to src/Yavsc/Migrations/2017/20171016090837_bugDescription.cs diff --git a/src/Yavsc/Migrations/20171019130120_subComment.Designer.cs b/src/Yavsc/Migrations/2017/20171019130120_subComment.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171019130120_subComment.Designer.cs rename to src/Yavsc/Migrations/2017/20171019130120_subComment.Designer.cs diff --git a/src/Yavsc/Migrations/20171019130120_subComment.cs b/src/Yavsc/Migrations/2017/20171019130120_subComment.cs similarity index 100% rename from src/Yavsc/Migrations/20171019130120_subComment.cs rename to src/Yavsc/Migrations/2017/20171019130120_subComment.cs diff --git a/src/Yavsc/Migrations/20171020090944_commentAuthor.Designer.cs b/src/Yavsc/Migrations/2017/20171020090944_commentAuthor.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171020090944_commentAuthor.Designer.cs rename to src/Yavsc/Migrations/2017/20171020090944_commentAuthor.Designer.cs diff --git a/src/Yavsc/Migrations/20171020090944_commentAuthor.cs b/src/Yavsc/Migrations/2017/20171020090944_commentAuthor.cs similarity index 100% rename from src/Yavsc/Migrations/20171020090944_commentAuthor.cs rename to src/Yavsc/Migrations/2017/20171020090944_commentAuthor.cs diff --git a/src/Yavsc/Migrations/20171020173835_commentAuthorId.Designer.cs b/src/Yavsc/Migrations/2017/20171020173835_commentAuthorId.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20171020173835_commentAuthorId.Designer.cs rename to src/Yavsc/Migrations/2017/20171020173835_commentAuthorId.Designer.cs diff --git a/src/Yavsc/Migrations/20171020173835_commentAuthorId.cs b/src/Yavsc/Migrations/2017/20171020173835_commentAuthorId.cs similarity index 100% rename from src/Yavsc/Migrations/20171020173835_commentAuthorId.cs rename to src/Yavsc/Migrations/2017/20171020173835_commentAuthorId.cs diff --git a/src/Yavsc/Migrations/20180102153009_chatRooms.Designer.cs b/src/Yavsc/Migrations/2018/20180102153009_chatRooms.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20180102153009_chatRooms.Designer.cs rename to src/Yavsc/Migrations/2018/20180102153009_chatRooms.Designer.cs diff --git a/src/Yavsc/Migrations/20180102153009_chatRooms.cs b/src/Yavsc/Migrations/2018/20180102153009_chatRooms.cs similarity index 100% rename from src/Yavsc/Migrations/20180102153009_chatRooms.cs rename to src/Yavsc/Migrations/2018/20180102153009_chatRooms.cs diff --git a/src/Yavsc/Migrations/20180209144114_rejectQuery.Designer.cs b/src/Yavsc/Migrations/2018/20180209144114_rejectQuery.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20180209144114_rejectQuery.Designer.cs rename to src/Yavsc/Migrations/2018/20180209144114_rejectQuery.Designer.cs diff --git a/src/Yavsc/Migrations/20180209144114_rejectQuery.cs b/src/Yavsc/Migrations/2018/20180209144114_rejectQuery.cs similarity index 100% rename from src/Yavsc/Migrations/20180209144114_rejectQuery.cs rename to src/Yavsc/Migrations/2018/20180209144114_rejectQuery.cs diff --git a/src/Yavsc/Migrations/20180420213912_mailingTemplates.Designer.cs b/src/Yavsc/Migrations/2018/20180420213912_mailingTemplates.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20180420213912_mailingTemplates.Designer.cs rename to src/Yavsc/Migrations/2018/20180420213912_mailingTemplates.Designer.cs diff --git a/src/Yavsc/Migrations/20180420213912_mailingTemplates.cs b/src/Yavsc/Migrations/2018/20180420213912_mailingTemplates.cs similarity index 100% rename from src/Yavsc/Migrations/20180420213912_mailingTemplates.cs rename to src/Yavsc/Migrations/2018/20180420213912_mailingTemplates.cs diff --git a/src/Yavsc/Migrations/20180503100246_userAllowMonthlyEmail.Designer.cs b/src/Yavsc/Migrations/2018/20180503100246_userAllowMonthlyEmail.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20180503100246_userAllowMonthlyEmail.Designer.cs rename to src/Yavsc/Migrations/2018/20180503100246_userAllowMonthlyEmail.Designer.cs diff --git a/src/Yavsc/Migrations/20180503100246_userAllowMonthlyEmail.cs b/src/Yavsc/Migrations/2018/20180503100246_userAllowMonthlyEmail.cs similarity index 100% rename from src/Yavsc/Migrations/20180503100246_userAllowMonthlyEmail.cs rename to src/Yavsc/Migrations/2018/20180503100246_userAllowMonthlyEmail.cs diff --git a/src/Yavsc/Migrations/20180625113528_Git.Designer.cs b/src/Yavsc/Migrations/2018/20180625113528_Git.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20180625113528_Git.Designer.cs rename to src/Yavsc/Migrations/2018/20180625113528_Git.Designer.cs diff --git a/src/Yavsc/Migrations/20180625113528_Git.cs b/src/Yavsc/Migrations/2018/20180625113528_Git.cs similarity index 100% rename from src/Yavsc/Migrations/20180625113528_Git.cs rename to src/Yavsc/Migrations/2018/20180625113528_Git.cs diff --git a/src/Yavsc/Migrations/20180703224638_wrongProjectConfigForeignKey.Designer.cs b/src/Yavsc/Migrations/2018/20180703224638_wrongProjectConfigForeignKey.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20180703224638_wrongProjectConfigForeignKey.Designer.cs rename to src/Yavsc/Migrations/2018/20180703224638_wrongProjectConfigForeignKey.Designer.cs diff --git a/src/Yavsc/Migrations/20180703224638_wrongProjectConfigForeignKey.cs b/src/Yavsc/Migrations/2018/20180703224638_wrongProjectConfigForeignKey.cs similarity index 100% rename from src/Yavsc/Migrations/20180703224638_wrongProjectConfigForeignKey.cs rename to src/Yavsc/Migrations/2018/20180703224638_wrongProjectConfigForeignKey.cs diff --git a/src/Yavsc/Migrations/20180703231814_wrongProjectConfigForeignKeyBis.Designer.cs b/src/Yavsc/Migrations/2018/20180703231814_wrongProjectConfigForeignKeyBis.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20180703231814_wrongProjectConfigForeignKeyBis.Designer.cs rename to src/Yavsc/Migrations/2018/20180703231814_wrongProjectConfigForeignKeyBis.Designer.cs diff --git a/src/Yavsc/Migrations/20180703231814_wrongProjectConfigForeignKeyBis.cs b/src/Yavsc/Migrations/2018/20180703231814_wrongProjectConfigForeignKeyBis.cs similarity index 100% rename from src/Yavsc/Migrations/20180703231814_wrongProjectConfigForeignKeyBis.cs rename to src/Yavsc/Migrations/2018/20180703231814_wrongProjectConfigForeignKeyBis.cs diff --git a/src/Yavsc/Migrations/20180805122812_gitprojectref.Designer.cs b/src/Yavsc/Migrations/2018/20180805122812_gitprojectref.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20180805122812_gitprojectref.Designer.cs rename to src/Yavsc/Migrations/2018/20180805122812_gitprojectref.Designer.cs diff --git a/src/Yavsc/Migrations/20180805122812_gitprojectref.cs b/src/Yavsc/Migrations/2018/20180805122812_gitprojectref.cs similarity index 100% rename from src/Yavsc/Migrations/20180805122812_gitprojectref.cs rename to src/Yavsc/Migrations/2018/20180805122812_gitprojectref.cs diff --git a/src/Yavsc/Migrations/20181212103501_blogLang.Designer.cs b/src/Yavsc/Migrations/2018/20181212103501_blogLang.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20181212103501_blogLang.Designer.cs rename to src/Yavsc/Migrations/2018/20181212103501_blogLang.Designer.cs diff --git a/src/Yavsc/Migrations/20181212103501_blogLang.cs b/src/Yavsc/Migrations/2018/20181212103501_blogLang.cs similarity index 100% rename from src/Yavsc/Migrations/20181212103501_blogLang.cs rename to src/Yavsc/Migrations/2018/20181212103501_blogLang.cs diff --git a/src/Yavsc/Migrations/20181218152420_BlogTradModel.Designer.cs b/src/Yavsc/Migrations/2018/20181218152420_BlogTradModel.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20181218152420_BlogTradModel.Designer.cs rename to src/Yavsc/Migrations/2018/20181218152420_BlogTradModel.Designer.cs diff --git a/src/Yavsc/Migrations/20181218152420_BlogTradModel.cs b/src/Yavsc/Migrations/2018/20181218152420_BlogTradModel.cs similarity index 100% rename from src/Yavsc/Migrations/20181218152420_BlogTradModel.cs rename to src/Yavsc/Migrations/2018/20181218152420_BlogTradModel.cs diff --git a/src/Yavsc/Migrations/20181231153224_bugTitles.Designer.cs b/src/Yavsc/Migrations/2018/20181231153224_bugTitles.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20181231153224_bugTitles.Designer.cs rename to src/Yavsc/Migrations/2018/20181231153224_bugTitles.Designer.cs diff --git a/src/Yavsc/Migrations/20181231153224_bugTitles.cs b/src/Yavsc/Migrations/2018/20181231153224_bugTitles.cs similarity index 100% rename from src/Yavsc/Migrations/20181231153224_bugTitles.cs rename to src/Yavsc/Migrations/2018/20181231153224_bugTitles.cs diff --git a/src/Yavsc/Migrations/20190103110008_liveSetup.Designer.cs b/src/Yavsc/Migrations/2019/T1/20190103110008_liveSetup.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20190103110008_liveSetup.Designer.cs rename to src/Yavsc/Migrations/2019/T1/20190103110008_liveSetup.Designer.cs diff --git a/src/Yavsc/Migrations/20190103110008_liveSetup.cs b/src/Yavsc/Migrations/2019/T1/20190103110008_liveSetup.cs similarity index 100% rename from src/Yavsc/Migrations/20190103110008_liveSetup.cs rename to src/Yavsc/Migrations/2019/T1/20190103110008_liveSetup.cs diff --git a/src/Yavsc/Migrations/20190126133339_banTarget.Designer.cs b/src/Yavsc/Migrations/2019/T1/20190126133339_banTarget.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20190126133339_banTarget.Designer.cs rename to src/Yavsc/Migrations/2019/T1/20190126133339_banTarget.Designer.cs diff --git a/src/Yavsc/Migrations/20190126133339_banTarget.cs b/src/Yavsc/Migrations/2019/T1/20190126133339_banTarget.cs similarity index 100% rename from src/Yavsc/Migrations/20190126133339_banTarget.cs rename to src/Yavsc/Migrations/2019/T1/20190126133339_banTarget.cs diff --git a/src/Yavsc/Migrations/20190127105601_banReason.Designer.cs b/src/Yavsc/Migrations/2019/T1/20190127105601_banReason.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20190127105601_banReason.Designer.cs rename to src/Yavsc/Migrations/2019/T1/20190127105601_banReason.Designer.cs diff --git a/src/Yavsc/Migrations/20190127105601_banReason.cs b/src/Yavsc/Migrations/2019/T1/20190127105601_banReason.cs similarity index 100% rename from src/Yavsc/Migrations/20190127105601_banReason.cs rename to src/Yavsc/Migrations/2019/T1/20190127105601_banReason.cs diff --git a/src/Yavsc/Migrations/20190204162909_liveFlowSeqnum.Designer.cs b/src/Yavsc/Migrations/2019/T1/20190204162909_liveFlowSeqnum.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20190204162909_liveFlowSeqnum.Designer.cs rename to src/Yavsc/Migrations/2019/T1/20190204162909_liveFlowSeqnum.Designer.cs diff --git a/src/Yavsc/Migrations/20190204162909_liveFlowSeqnum.cs b/src/Yavsc/Migrations/2019/T1/20190204162909_liveFlowSeqnum.cs similarity index 100% rename from src/Yavsc/Migrations/20190204162909_liveFlowSeqnum.cs rename to src/Yavsc/Migrations/2019/T1/20190204162909_liveFlowSeqnum.cs diff --git a/src/Yavsc/Migrations/20190507142752_chatAccess.Designer.cs b/src/Yavsc/Migrations/2019/T2/20190507142752_chatAccess.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20190507142752_chatAccess.Designer.cs rename to src/Yavsc/Migrations/2019/T2/20190507142752_chatAccess.Designer.cs diff --git a/src/Yavsc/Migrations/20190507142752_chatAccess.cs b/src/Yavsc/Migrations/2019/T2/20190507142752_chatAccess.cs similarity index 100% rename from src/Yavsc/Migrations/20190507142752_chatAccess.cs rename to src/Yavsc/Migrations/2019/T2/20190507142752_chatAccess.cs diff --git a/src/Yavsc/Migrations/20190508004238_dropGCM.Designer.cs b/src/Yavsc/Migrations/2019/T2/20190508004238_dropGCM.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20190508004238_dropGCM.Designer.cs rename to src/Yavsc/Migrations/2019/T2/20190508004238_dropGCM.Designer.cs diff --git a/src/Yavsc/Migrations/20190508004238_dropGCM.cs b/src/Yavsc/Migrations/2019/T2/20190508004238_dropGCM.cs similarity index 100% rename from src/Yavsc/Migrations/20190508004238_dropGCM.cs rename to src/Yavsc/Migrations/2019/T2/20190508004238_dropGCM.cs diff --git a/src/Yavsc/Migrations/20190510021107_chanDates.Designer.cs b/src/Yavsc/Migrations/2019/T2/20190510021107_chanDates.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20190510021107_chanDates.Designer.cs rename to src/Yavsc/Migrations/2019/T2/20190510021107_chanDates.Designer.cs diff --git a/src/Yavsc/Migrations/20190510021107_chanDates.cs b/src/Yavsc/Migrations/2019/T2/20190510021107_chanDates.cs similarity index 100% rename from src/Yavsc/Migrations/20190510021107_chanDates.cs rename to src/Yavsc/Migrations/2019/T2/20190510021107_chanDates.cs diff --git a/src/Yavsc/Migrations/20190622172941_userTrack.Designer.cs b/src/Yavsc/Migrations/2019/T2/20190622172941_userTrack.Designer.cs similarity index 100% rename from src/Yavsc/Migrations/20190622172941_userTrack.Designer.cs rename to src/Yavsc/Migrations/2019/T2/20190622172941_userTrack.Designer.cs diff --git a/src/Yavsc/Migrations/20190622172941_userTrack.cs b/src/Yavsc/Migrations/2019/T2/20190622172941_userTrack.cs similarity index 100% rename from src/Yavsc/Migrations/20190622172941_userTrack.cs rename to src/Yavsc/Migrations/2019/T2/20190622172941_userTrack.cs diff --git a/src/Yavsc/Migrations/20190804232432_circleAnnotations.Designer.cs b/src/Yavsc/Migrations/20190804232432_circleAnnotations.Designer.cs new file mode 100644 index 00000000..8b02171b --- /dev/null +++ b/src/Yavsc/Migrations/20190804232432_circleAnnotations.Designer.cs @@ -0,0 +1,2080 @@ +using System; +using Microsoft.Data.Entity; +using Microsoft.Data.Entity.Infrastructure; +using Microsoft.Data.Entity.Metadata; +using Microsoft.Data.Entity.Migrations; +using Yavsc.Models; + +namespace Yavsc.Migrations +{ + [DbContext(typeof(ApplicationDbContext))] + [Migration("20190804232432_circleAnnotations")] + partial class circleAnnotations + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { + modelBuilder + .HasAnnotation("ProductVersion", "7.0.0-rc1-16348"); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityRole", b => + { + b.Property("Id"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken(); + + b.Property("Name") + .HasAnnotation("MaxLength", 256); + + b.Property("NormalizedName") + .HasAnnotation("MaxLength", 256); + + b.HasKey("Id"); + + b.HasIndex("NormalizedName") + .HasAnnotation("Relational:Name", "RoleNameIndex"); + + b.HasAnnotation("Relational:TableName", "AspNetRoles"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityRoleClaim", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ClaimType"); + + b.Property("ClaimValue"); + + b.Property("RoleId") + .IsRequired(); + + b.HasKey("Id"); + + b.HasAnnotation("Relational:TableName", "AspNetRoleClaims"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ClaimType"); + + b.Property("ClaimValue"); + + b.Property("UserId") + .IsRequired(); + + b.HasKey("Id"); + + b.HasAnnotation("Relational:TableName", "AspNetUserClaims"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserLogin", b => + { + b.Property("LoginProvider"); + + b.Property("ProviderKey"); + + b.Property("ProviderDisplayName"); + + b.Property("UserId") + .IsRequired(); + + b.HasKey("LoginProvider", "ProviderKey"); + + b.HasAnnotation("Relational:TableName", "AspNetUserLogins"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole", b => + { + b.Property("UserId"); + + b.Property("RoleId"); + + b.HasKey("UserId", "RoleId"); + + b.HasAnnotation("Relational:TableName", "AspNetUserRoles"); + }); + + modelBuilder.Entity("Yavsc.Abstract.Identity.ClientProviderInfo", b => + { + b.Property("UserId"); + + b.Property("Avatar"); + + b.Property("BillingAddressId"); + + b.Property("EMail"); + + b.Property("Phone"); + + b.Property("UserName"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Access.Ban", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("Reason") + .IsRequired(); + + b.Property("TargetId") + .IsRequired(); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Access.BlackListed", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("OwnerId") + .IsRequired(); + + b.Property("UserId") + .IsRequired(); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Access.CircleAuthorizationToBlogPost", b => + { + b.Property("CircleId"); + + b.Property("BlogPostId"); + + b.HasKey("CircleId", "BlogPostId"); + }); + + modelBuilder.Entity("Yavsc.Models.AccountBalance", b => + { + b.Property("UserId"); + + b.Property("ContactCredits"); + + b.Property("Credits"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.ApplicationUser", b => + { + b.Property("Id"); + + b.Property("AccessFailedCount"); + + b.Property("AllowMonthlyEmail"); + + b.Property("Avatar") + .HasAnnotation("MaxLength", 512) + .HasAnnotation("Relational:DefaultValue", "/images/Users/icon_user.png") + .HasAnnotation("Relational:DefaultValueType", "System.String"); + + b.Property("BankInfoId"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken(); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("DedicatedGoogleCalendar") + .HasAnnotation("MaxLength", 512); + + b.Property("DiskQuota") + .HasAnnotation("Relational:DefaultValue", "524288000") + .HasAnnotation("Relational:DefaultValueType", "System.Int64"); + + b.Property("DiskUsage"); + + b.Property("Email") + .HasAnnotation("MaxLength", 256); + + b.Property("EmailConfirmed"); + + b.Property("FullName") + .HasAnnotation("MaxLength", 512); + + b.Property("LockoutEnabled"); + + b.Property("LockoutEnd"); + + b.Property("MaxFileSize"); + + b.Property("NormalizedEmail") + .HasAnnotation("MaxLength", 256); + + b.Property("NormalizedUserName") + .HasAnnotation("MaxLength", 256); + + b.Property("PasswordHash"); + + b.Property("PhoneNumber"); + + b.Property("PhoneNumberConfirmed"); + + b.Property("PostalAddressId"); + + b.Property("SecurityStamp"); + + b.Property("TwoFactorEnabled"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.Property("UserName") + .HasAnnotation("MaxLength", 256); + + b.HasKey("Id"); + + b.HasIndex("NormalizedEmail") + .HasAnnotation("Relational:Name", "EmailIndex"); + + b.HasIndex("NormalizedUserName") + .HasAnnotation("Relational:Name", "UserNameIndex"); + + b.HasAnnotation("Relational:TableName", "AspNetUsers"); + }); + + modelBuilder.Entity("Yavsc.Models.Auth.Client", b => + { + b.Property("Id"); + + b.Property("Active"); + + b.Property("DisplayName"); + + b.Property("LogoutRedirectUri") + .HasAnnotation("MaxLength", 100); + + b.Property("RedirectUri"); + + b.Property("RefreshTokenLifeTime"); + + b.Property("Secret"); + + b.Property("Type"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Auth.OAuth2Tokens", b => + { + b.Property("UserId"); + + b.Property("AccessToken"); + + b.Property("Expiration"); + + b.Property("ExpiresIn"); + + b.Property("RefreshToken"); + + b.Property("TokenType"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Auth.RefreshToken", b => + { + b.Property("Id"); + + b.Property("ClientId") + .IsRequired() + .HasAnnotation("MaxLength", 50); + + b.Property("ExpiresUtc"); + + b.Property("IssuedUtc"); + + b.Property("ProtectedTicket") + .IsRequired(); + + b.Property("Subject") + .IsRequired() + .HasAnnotation("MaxLength", 50); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.BalanceImpact", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("BalanceId") + .IsRequired(); + + b.Property("ExecDate"); + + b.Property("Impact"); + + b.Property("Reason") + .IsRequired(); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Bank.BankIdentity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("AccountNumber") + .HasAnnotation("MaxLength", 15); + + b.Property("BIC") + .HasAnnotation("MaxLength", 15); + + b.Property("BankCode") + .HasAnnotation("MaxLength", 5); + + b.Property("BankedKey"); + + b.Property("IBAN") + .HasAnnotation("MaxLength", 33); + + b.Property("WicketCode") + .HasAnnotation("MaxLength", 5); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.CommandLine", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Count"); + + b.Property("Currency"); + + b.Property("Description") + .IsRequired() + .HasAnnotation("MaxLength", 512); + + b.Property("EstimateId"); + + b.Property("EstimateTemplateId"); + + b.Property("Name") + .IsRequired() + .HasAnnotation("MaxLength", 256); + + b.Property("UnitaryCost"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.Estimate", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("AttachedFilesString"); + + b.Property("AttachedGraphicsString"); + + b.Property("ClientId") + .IsRequired(); + + b.Property("ClientValidationDate"); + + b.Property("CommandId"); + + b.Property("CommandType") + .IsRequired(); + + b.Property("Description"); + + b.Property("OwnerId"); + + b.Property("ProviderValidationDate"); + + b.Property("Title"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.EstimateTemplate", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Description"); + + b.Property("OwnerId") + .IsRequired(); + + b.Property("Title"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.ExceptionSIREN", b => + { + b.Property("SIREN"); + + b.HasKey("SIREN"); + }); + + modelBuilder.Entity("Yavsc.Models.Blog.BlogPost", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("AuthorId"); + + b.Property("Content") + .HasAnnotation("MaxLength", 56224); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("Lang") + .HasAnnotation("MaxLength", 8); + + b.Property("Photo") + .HasAnnotation("MaxLength", 1024); + + b.Property("Rate"); + + b.Property("Title") + .HasAnnotation("MaxLength", 1024); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.Property("Visible"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Blog.BlogTag", b => + { + b.Property("PostId"); + + b.Property("TagId"); + + b.HasKey("PostId", "TagId"); + }); + + modelBuilder.Entity("Yavsc.Models.Blog.Comment", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("AuthorId") + .IsRequired(); + + b.Property("Content") + .HasAnnotation("MaxLength", 1024); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("ParentId"); + + b.Property("PostId"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.Property("Visible"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Calendar.Period", b => + { + b.Property("Start"); + + b.Property("End"); + + b.HasKey("Start", "End"); + }); + + modelBuilder.Entity("Yavsc.Models.Calendar.Schedule", b => + { + b.Property("OwnerId"); + + b.HasKey("OwnerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Calendar.ScheduledEvent", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("PeriodEnd"); + + b.Property("PeriodStart"); + + b.Property("Reccurence"); + + b.Property("ScheduleOwnerId"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Chat.ChatConnection", b => + { + b.Property("ConnectionId"); + + b.Property("ApplicationUserId") + .IsRequired(); + + b.Property("Connected"); + + b.Property("UserAgent"); + + b.HasKey("ConnectionId"); + }); + + modelBuilder.Entity("Yavsc.Models.Chat.ChatRoom", b => + { + b.Property("Name") + .HasAnnotation("MaxLength", 255); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("LatestJoinPart"); + + b.Property("OwnerId"); + + b.Property("Topic"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.HasKey("Name"); + }); + + modelBuilder.Entity("Yavsc.Models.Chat.ChatRoomAccess", b => + { + b.Property("ChannelName"); + + b.Property("UserId"); + + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Level"); + + b.HasKey("ChannelName", "UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Cratie.Option", b => + { + b.Property("Code"); + + b.Property("CodeScrutin"); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("Description"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.HasKey("Code", "CodeScrutin"); + }); + + modelBuilder.Entity("Yavsc.Models.Drawing.Color", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Blue"); + + b.Property("Green"); + + b.Property("Name"); + + b.Property("Red"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Forms.Form", b => + { + b.Property("Id"); + + b.Property("Summary"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.BrusherProfile", b => + { + b.Property("UserId"); + + b.Property("ActionDistance"); + + b.Property("CarePrice"); + + b.Property("FlatFeeDiscount"); + + b.Property("HalfBalayagePrice"); + + b.Property("HalfBrushingPrice"); + + b.Property("HalfColorPrice"); + + b.Property("HalfDefrisPrice"); + + b.Property("HalfFoldingPrice"); + + b.Property("HalfMechPrice"); + + b.Property("HalfMultiColorPrice"); + + b.Property("HalfPermanentPrice"); + + b.Property("KidCutPrice"); + + b.Property("LongBalayagePrice"); + + b.Property("LongBrushingPrice"); + + b.Property("LongColorPrice"); + + b.Property("LongDefrisPrice"); + + b.Property("LongFoldingPrice"); + + b.Property("LongMechPrice"); + + b.Property("LongMultiColorPrice"); + + b.Property("LongPermanentPrice"); + + b.Property("ManBrushPrice"); + + b.Property("ManCutPrice"); + + b.Property("ScheduleOwnerId"); + + b.Property("ShampooPrice"); + + b.Property("ShortBalayagePrice"); + + b.Property("ShortBrushingPrice"); + + b.Property("ShortColorPrice"); + + b.Property("ShortDefrisPrice"); + + b.Property("ShortFoldingPrice"); + + b.Property("ShortMechPrice"); + + b.Property("ShortMultiColorPrice"); + + b.Property("ShortPermanentPrice"); + + b.Property("WomenHalfCutPrice"); + + b.Property("WomenLongCutPrice"); + + b.Property("WomenShortCutPrice"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairCutQuery", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ActivityCode") + .IsRequired(); + + b.Property("AdditionalInfo") + .HasAnnotation("MaxLength", 512); + + b.Property("ClientId") + .IsRequired(); + + b.Property("Consent"); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("Description"); + + b.Property("EventDate"); + + b.Property("LocationId"); + + b.Property("PaymentId"); + + b.Property("PerformerId") + .IsRequired(); + + b.Property("PrestationId"); + + b.Property("Previsional"); + + b.Property("Rejected"); + + b.Property("RejectedAt"); + + b.Property("SelectedProfileUserId"); + + b.Property("Status"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.Property("ValidationDate"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairMultiCutQuery", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ActivityCode") + .IsRequired(); + + b.Property("ClientId") + .IsRequired(); + + b.Property("Consent"); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("Description"); + + b.Property("EventDate"); + + b.Property("LocationId"); + + b.Property("PaymentId"); + + b.Property("PerformerId") + .IsRequired(); + + b.Property("Previsional"); + + b.Property("Rejected"); + + b.Property("RejectedAt"); + + b.Property("Status"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.Property("ValidationDate"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairPrestation", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Cares"); + + b.Property("Cut"); + + b.Property("Dressing"); + + b.Property("Gender"); + + b.Property("Length"); + + b.Property("Shampoo"); + + b.Property("Tech"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairPrestationCollectionItem", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("PrestationId"); + + b.Property("QueryId"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairTaint", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Brand"); + + b.Property("ColorId"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairTaintInstance", b => + { + b.Property("TaintId"); + + b.Property("PrestationId"); + + b.HasKey("TaintId", "PrestationId"); + }); + + modelBuilder.Entity("Yavsc.Models.Identity.DeviceDeclaration", b => + { + b.Property("DeviceId"); + + b.Property("DeclarationDate") + .ValueGeneratedOnAdd() + .HasAnnotation("Relational:GeneratedValueSql", "LOCALTIMESTAMP"); + + b.Property("DeviceOwnerId"); + + b.Property("LatestActivityUpdate"); + + b.Property("Model"); + + b.Property("Platform"); + + b.Property("Version"); + + b.HasKey("DeviceId"); + }); + + modelBuilder.Entity("Yavsc.Models.IT.Evolution.Feature", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Description") + .HasAnnotation("MaxLength", 10240); + + b.Property("ShortName") + .HasAnnotation("MaxLength", 256); + + b.Property("Status"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.IT.Fixing.Bug", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Description"); + + b.Property("FeatureId"); + + b.Property("Status"); + + b.Property("Title"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Market.Product", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Depth"); + + b.Property("Description"); + + b.Property("Height"); + + b.Property("Name"); + + b.Property("Price"); + + b.Property("Public"); + + b.Property("Weight"); + + b.Property("Width"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Market.Service", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ContextId"); + + b.Property("Description"); + + b.Property("Name"); + + b.Property("Public"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Messaging.Announce", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("For"); + + b.Property("Message"); + + b.Property("OwnerId"); + + b.Property("Sender"); + + b.Property("Topic"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Messaging.DimissClicked", b => + { + b.Property("UserId"); + + b.Property("NotificationId"); + + b.HasKey("UserId", "NotificationId"); + }); + + modelBuilder.Entity("Yavsc.Models.Messaging.Notification", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Target"); + + b.Property("body") + .IsRequired(); + + b.Property("click_action") + .IsRequired(); + + b.Property("color"); + + b.Property("icon") + .HasAnnotation("Relational:DefaultValue", "exclam") + .HasAnnotation("Relational:DefaultValueType", "System.String"); + + b.Property("sound"); + + b.Property("tag"); + + b.Property("title") + .IsRequired(); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Musical.Instrument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Name") + .IsRequired() + .HasAnnotation("MaxLength", 255); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Musical.MusicalPreference", b => + { + b.Property("OwnerProfileId"); + + b.Property("DjSettingsUserId"); + + b.Property("GeneralSettingsUserId"); + + b.Property("Rate"); + + b.Property("TendencyId"); + + b.HasKey("OwnerProfileId"); + }); + + modelBuilder.Entity("Yavsc.Models.Musical.MusicalTendency", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Name") + .IsRequired() + .HasAnnotation("MaxLength", 255); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Musical.Profiles.DjSettings", b => + { + b.Property("UserId"); + + b.Property("SoundCloudId"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Musical.Profiles.GeneralSettings", b => + { + b.Property("UserId"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Musical.Profiles.Instrumentation", b => + { + b.Property("InstrumentId"); + + b.Property("UserId"); + + b.HasKey("InstrumentId", "UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Payment.PayPalPayment", b => + { + b.Property("CreationToken"); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("ExecutorId") + .IsRequired(); + + b.Property("OrderReference"); + + b.Property("PaypalPayerId"); + + b.Property("State"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.HasKey("CreationToken"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ApplicationUserId"); + + b.Property("Name") + .IsRequired(); + + b.Property("OwnerId") + .IsRequired(); + + b.Property("Public"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.CircleMember", b => + { + b.Property("MemberId"); + + b.Property("CircleId"); + + b.HasKey("MemberId", "CircleId"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.Contact", b => + { + b.Property("OwnerId"); + + b.Property("UserId"); + + b.Property("AddressId"); + + b.Property("ApplicationUserId"); + + b.Property("EMail"); + + b.Property("Name"); + + b.HasKey("OwnerId", "UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.HyperLink", b => + { + b.Property("HRef"); + + b.Property("Method"); + + b.Property("BrusherProfileUserId"); + + b.Property("ContentType"); + + b.Property("PayPalPaymentCreationToken"); + + b.Property("Rel"); + + b.HasKey("HRef", "Method"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.Location", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Address") + .IsRequired() + .HasAnnotation("MaxLength", 512); + + b.Property("Latitude"); + + b.Property("Longitude"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.PostalAddress", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("City"); + + b.Property("Country"); + + b.Property("PostalCode"); + + b.Property("Province"); + + b.Property("State"); + + b.Property("Street1"); + + b.Property("Street2"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.Tag", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Name") + .IsRequired(); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Skill", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Name"); + + b.Property("Rate"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Streaming.LiveFlow", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("DifferedFileName") + .HasAnnotation("MaxLength", 255); + + b.Property("MediaType") + .HasAnnotation("MaxLength", 127); + + b.Property("OwnerId") + .IsRequired(); + + b.Property("Pitch") + .HasAnnotation("MaxLength", 1023); + + b.Property("SequenceNumber"); + + b.Property("Title") + .HasAnnotation("MaxLength", 255); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.Activity", b => + { + b.Property("Code") + .HasAnnotation("MaxLength", 512); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("Description"); + + b.Property("Hidden"); + + b.Property("ModeratorGroupName"); + + b.Property("Name") + .IsRequired() + .HasAnnotation("MaxLength", 512); + + b.Property("ParentCode") + .HasAnnotation("MaxLength", 512); + + b.Property("Photo"); + + b.Property("Rate"); + + b.Property("SettingsClassName"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.HasKey("Code"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.CommandForm", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ActionName"); + + b.Property("ActivityCode") + .IsRequired(); + + b.Property("Title"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.CoWorking", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("FormationSettingsUserId"); + + b.Property("PerformerId"); + + b.Property("WorkingForId"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.PerformerProfile", b => + { + b.Property("PerformerId"); + + b.Property("AcceptNotifications"); + + b.Property("AcceptPublicContact"); + + b.Property("Active"); + + b.Property("MaxDailyCost"); + + b.Property("MinDailyCost"); + + b.Property("OrganizationAddressId"); + + b.Property("Rate"); + + b.Property("SIREN") + .IsRequired() + .HasAnnotation("MaxLength", 14); + + b.Property("UseGeoLocalizationToReduceDistanceWithClients"); + + b.Property("WebSite"); + + b.HasKey("PerformerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.Profiles.FormationSettings", b => + { + b.Property("UserId"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.RdvQuery", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ActivityCode") + .IsRequired(); + + b.Property("ClientId") + .IsRequired(); + + b.Property("Consent"); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("Description"); + + b.Property("EventDate"); + + b.Property("LocationId"); + + b.Property("LocationType"); + + b.Property("PaymentId"); + + b.Property("PerformerId") + .IsRequired(); + + b.Property("Previsional"); + + b.Property("Reason"); + + b.Property("Rejected"); + + b.Property("RejectedAt"); + + b.Property("Status"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.Property("ValidationDate"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.UserActivity", b => + { + b.Property("DoesCode"); + + b.Property("UserId"); + + b.Property("Weight"); + + b.HasKey("DoesCode", "UserId"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.Access.CircleAuthorizationToFile", b => + { + b.Property("CircleId"); + + b.Property("FullPath"); + + b.HasKey("CircleId", "FullPath"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.Blog.BlogTrad", b => + { + b.Property("PostId"); + + b.Property("Lang"); + + b.Property("Body"); + + b.Property("Title"); + + b.Property("TraducerId"); + + b.HasKey("PostId", "Lang"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Body") + .HasAnnotation("MaxLength", 65536); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("ManagerId") + .IsRequired(); + + b.Property("ReplyToAddress"); + + b.Property("SuccessorId") + .IsRequired(); + + b.Property("ToSend"); + + b.Property("Topic") + .HasAnnotation("MaxLength", 128); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.IT.Project", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ActivityCode") + .IsRequired(); + + b.Property("ClientId") + .IsRequired(); + + b.Property("Consent"); + + b.Property("DateCreated"); + + b.Property("DateModified"); + + b.Property("Description"); + + b.Property("GitId"); + + b.Property("Name") + .IsRequired(); + + b.Property("OwnerId"); + + b.Property("PaymentId"); + + b.Property("PerformerId") + .IsRequired(); + + b.Property("Previsional"); + + b.Property("Rejected"); + + b.Property("RejectedAt"); + + b.Property("Status"); + + b.Property("UserCreated"); + + b.Property("UserModified"); + + b.Property("ValidationDate"); + + b.Property("Version"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.IT.ProjectBuildConfiguration", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Name") + .IsRequired(); + + b.Property("ProjectId"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.IT.SourceCode.GitRepositoryReference", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Branch") + .HasAnnotation("MaxLength", 512); + + b.Property("OwnerId") + .HasAnnotation("MaxLength", 1024); + + b.Property("Path") + .IsRequired(); + + b.Property("Url") + .HasAnnotation("MaxLength", 2048); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityRoleClaim", b => + { + b.HasOne("Microsoft.AspNet.Identity.EntityFramework.IdentityRole") + .WithMany() + .HasForeignKey("RoleId"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserLogin", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole", b => + { + b.HasOne("Microsoft.AspNet.Identity.EntityFramework.IdentityRole") + .WithMany() + .HasForeignKey("RoleId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Access.Ban", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("TargetId"); + }); + + modelBuilder.Entity("Yavsc.Models.Access.BlackListed", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("OwnerId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Access.CircleAuthorizationToBlogPost", b => + { + b.HasOne("Yavsc.Models.Blog.BlogPost") + .WithMany() + .HasForeignKey("BlogPostId"); + + b.HasOne("Yavsc.Models.Relationship.Circle") + .WithMany() + .HasForeignKey("CircleId"); + }); + + modelBuilder.Entity("Yavsc.Models.AccountBalance", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithOne() + .HasForeignKey("Yavsc.Models.AccountBalance", "UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.ApplicationUser", b => + { + b.HasOne("Yavsc.Models.Bank.BankIdentity") + .WithMany() + .HasForeignKey("BankInfoId"); + + b.HasOne("Yavsc.Models.Relationship.Location") + .WithMany() + .HasForeignKey("PostalAddressId"); + }); + + modelBuilder.Entity("Yavsc.Models.BalanceImpact", b => + { + b.HasOne("Yavsc.Models.AccountBalance") + .WithMany() + .HasForeignKey("BalanceId"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.CommandLine", b => + { + b.HasOne("Yavsc.Models.Billing.Estimate") + .WithMany() + .HasForeignKey("EstimateId"); + + b.HasOne("Yavsc.Models.Billing.EstimateTemplate") + .WithMany() + .HasForeignKey("EstimateTemplateId"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.Estimate", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ClientId"); + + b.HasOne("Yavsc.Models.Workflow.RdvQuery") + .WithMany() + .HasForeignKey("CommandId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("OwnerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Blog.BlogPost", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("AuthorId"); + }); + + modelBuilder.Entity("Yavsc.Models.Blog.BlogTag", b => + { + b.HasOne("Yavsc.Models.Blog.BlogPost") + .WithMany() + .HasForeignKey("PostId"); + + b.HasOne("Yavsc.Models.Relationship.Tag") + .WithMany() + .HasForeignKey("TagId"); + }); + + modelBuilder.Entity("Yavsc.Models.Blog.Comment", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("AuthorId"); + + b.HasOne("Yavsc.Models.Blog.Comment") + .WithMany() + .HasForeignKey("ParentId"); + + b.HasOne("Yavsc.Models.Blog.BlogPost") + .WithMany() + .HasForeignKey("PostId"); + }); + + modelBuilder.Entity("Yavsc.Models.Calendar.Schedule", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("OwnerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Calendar.ScheduledEvent", b => + { + b.HasOne("Yavsc.Models.Calendar.Schedule") + .WithMany() + .HasForeignKey("ScheduleOwnerId"); + + b.HasOne("Yavsc.Models.Calendar.Period") + .WithMany() + .HasForeignKey("PeriodStart", "PeriodEnd"); + }); + + modelBuilder.Entity("Yavsc.Models.Chat.ChatConnection", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ApplicationUserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Chat.ChatRoom", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("OwnerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Chat.ChatRoomAccess", b => + { + b.HasOne("Yavsc.Models.Chat.ChatRoom") + .WithMany() + .HasForeignKey("ChannelName"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.BrusherProfile", b => + { + b.HasOne("Yavsc.Models.Calendar.Schedule") + .WithMany() + .HasForeignKey("ScheduleOwnerId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairCutQuery", b => + { + b.HasOne("Yavsc.Models.Workflow.Activity") + .WithMany() + .HasForeignKey("ActivityCode"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ClientId"); + + b.HasOne("Yavsc.Models.Relationship.Location") + .WithMany() + .HasForeignKey("LocationId"); + + b.HasOne("Yavsc.Models.Payment.PayPalPayment") + .WithMany() + .HasForeignKey("PaymentId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("PerformerId"); + + b.HasOne("Yavsc.Models.Haircut.HairPrestation") + .WithMany() + .HasForeignKey("PrestationId"); + + b.HasOne("Yavsc.Models.Haircut.BrusherProfile") + .WithMany() + .HasForeignKey("SelectedProfileUserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairMultiCutQuery", b => + { + b.HasOne("Yavsc.Models.Workflow.Activity") + .WithMany() + .HasForeignKey("ActivityCode"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ClientId"); + + b.HasOne("Yavsc.Models.Relationship.Location") + .WithMany() + .HasForeignKey("LocationId"); + + b.HasOne("Yavsc.Models.Payment.PayPalPayment") + .WithMany() + .HasForeignKey("PaymentId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("PerformerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairPrestationCollectionItem", b => + { + b.HasOne("Yavsc.Models.Haircut.HairPrestation") + .WithMany() + .HasForeignKey("PrestationId"); + + b.HasOne("Yavsc.Models.Haircut.HairMultiCutQuery") + .WithMany() + .HasForeignKey("QueryId"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairTaint", b => + { + b.HasOne("Yavsc.Models.Drawing.Color") + .WithMany() + .HasForeignKey("ColorId"); + }); + + modelBuilder.Entity("Yavsc.Models.Haircut.HairTaintInstance", b => + { + b.HasOne("Yavsc.Models.Haircut.HairPrestation") + .WithMany() + .HasForeignKey("PrestationId"); + + b.HasOne("Yavsc.Models.Haircut.HairTaint") + .WithMany() + .HasForeignKey("TaintId"); + }); + + modelBuilder.Entity("Yavsc.Models.Identity.DeviceDeclaration", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("DeviceOwnerId"); + }); + + modelBuilder.Entity("Yavsc.Models.IT.Fixing.Bug", b => + { + b.HasOne("Yavsc.Models.IT.Evolution.Feature") + .WithMany() + .HasForeignKey("FeatureId"); + }); + + modelBuilder.Entity("Yavsc.Models.Market.Service", b => + { + b.HasOne("Yavsc.Models.Workflow.Activity") + .WithMany() + .HasForeignKey("ContextId"); + }); + + modelBuilder.Entity("Yavsc.Models.Messaging.Announce", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("OwnerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Messaging.DimissClicked", b => + { + b.HasOne("Yavsc.Models.Messaging.Notification") + .WithMany() + .HasForeignKey("NotificationId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Musical.MusicalPreference", b => + { + b.HasOne("Yavsc.Models.Musical.Profiles.DjSettings") + .WithMany() + .HasForeignKey("DjSettingsUserId"); + + b.HasOne("Yavsc.Models.Musical.Profiles.GeneralSettings") + .WithMany() + .HasForeignKey("GeneralSettingsUserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Musical.Profiles.Instrumentation", b => + { + b.HasOne("Yavsc.Models.Musical.Instrument") + .WithMany() + .HasForeignKey("InstrumentId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Payment.PayPalPayment", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ExecutorId"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ApplicationUserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.CircleMember", b => + { + b.HasOne("Yavsc.Models.Relationship.Circle") + .WithMany() + .HasForeignKey("CircleId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("MemberId"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.Contact", b => + { + b.HasOne("Yavsc.Models.Relationship.PostalAddress") + .WithMany() + .HasForeignKey("AddressId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ApplicationUserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Relationship.HyperLink", b => + { + b.HasOne("Yavsc.Models.Haircut.BrusherProfile") + .WithMany() + .HasForeignKey("BrusherProfileUserId"); + + b.HasOne("Yavsc.Models.Payment.PayPalPayment") + .WithMany() + .HasForeignKey("PayPalPaymentCreationToken"); + }); + + modelBuilder.Entity("Yavsc.Models.Streaming.LiveFlow", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("OwnerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.Activity", b => + { + b.HasOne("Yavsc.Models.Workflow.Activity") + .WithMany() + .HasForeignKey("ParentCode"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.CommandForm", b => + { + b.HasOne("Yavsc.Models.Workflow.Activity") + .WithMany() + .HasForeignKey("ActivityCode"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.CoWorking", b => + { + b.HasOne("Yavsc.Models.Workflow.Profiles.FormationSettings") + .WithMany() + .HasForeignKey("FormationSettingsUserId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("PerformerId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("WorkingForId"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.PerformerProfile", b => + { + b.HasOne("Yavsc.Models.Relationship.Location") + .WithMany() + .HasForeignKey("OrganizationAddressId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("PerformerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.RdvQuery", b => + { + b.HasOne("Yavsc.Models.Workflow.Activity") + .WithMany() + .HasForeignKey("ActivityCode"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ClientId"); + + b.HasOne("Yavsc.Models.Relationship.Location") + .WithMany() + .HasForeignKey("LocationId"); + + b.HasOne("Yavsc.Models.Payment.PayPalPayment") + .WithMany() + .HasForeignKey("PaymentId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("PerformerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.UserActivity", b => + { + b.HasOne("Yavsc.Models.Workflow.Activity") + .WithMany() + .HasForeignKey("DoesCode"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.Access.CircleAuthorizationToFile", b => + { + b.HasOne("Yavsc.Models.Relationship.Circle") + .WithMany() + .HasForeignKey("CircleId"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.Blog.BlogTrad", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("TraducerId"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ManagerId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("SuccessorId"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.IT.Project", b => + { + b.HasOne("Yavsc.Models.Workflow.Activity") + .WithMany() + .HasForeignKey("ActivityCode"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ClientId"); + + b.HasOne("Yavsc.Server.Models.IT.SourceCode.GitRepositoryReference") + .WithMany() + .HasForeignKey("GitId"); + + b.HasOne("Yavsc.Models.Payment.PayPalPayment") + .WithMany() + .HasForeignKey("PaymentId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("PerformerId"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.IT.ProjectBuildConfiguration", b => + { + b.HasOne("Yavsc.Server.Models.IT.Project") + .WithMany() + .HasForeignKey("ProjectId"); + }); + + modelBuilder.Entity("Yavsc.Server.Models.IT.SourceCode.GitRepositoryReference", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("OwnerId"); + }); + } + } +} diff --git a/src/Yavsc/Migrations/20190804232432_circleAnnotations.cs b/src/Yavsc/Migrations/20190804232432_circleAnnotations.cs new file mode 100644 index 00000000..3e634d75 --- /dev/null +++ b/src/Yavsc/Migrations/20190804232432_circleAnnotations.cs @@ -0,0 +1,962 @@ +using System; +using System.Collections.Generic; +using Microsoft.Data.Entity.Migrations; + +namespace Yavsc.Migrations +{ + public partial class circleAnnotations : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropForeignKey(name: "FK_IdentityRoleClaim_IdentityRole_RoleId", table: "AspNetRoleClaims"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserClaim_ApplicationUser_UserId", table: "AspNetUserClaims"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserLogin_ApplicationUser_UserId", table: "AspNetUserLogins"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserRole_IdentityRole_RoleId", table: "AspNetUserRoles"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserRole_ApplicationUser_UserId", table: "AspNetUserRoles"); + migrationBuilder.DropForeignKey(name: "FK_Ban_ApplicationUser_TargetId", table: "Ban"); + migrationBuilder.DropForeignKey(name: "FK_BlackListed_ApplicationUser_OwnerId", table: "BlackListed"); + migrationBuilder.DropForeignKey(name: "FK_BlackListed_ApplicationUser_UserId", table: "BlackListed"); + migrationBuilder.DropForeignKey(name: "FK_CircleAuthorizationToBlogPost_BlogPost_BlogPostId", table: "CircleAuthorizationToBlogPost"); + migrationBuilder.DropForeignKey(name: "FK_CircleAuthorizationToBlogPost_Circle_CircleId", table: "CircleAuthorizationToBlogPost"); + migrationBuilder.DropForeignKey(name: "FK_AccountBalance_ApplicationUser_UserId", table: "AccountBalance"); + migrationBuilder.DropForeignKey(name: "FK_BalanceImpact_AccountBalance_BalanceId", table: "BalanceImpact"); + migrationBuilder.DropForeignKey(name: "FK_CommandLine_Estimate_EstimateId", table: "CommandLine"); + migrationBuilder.DropForeignKey(name: "FK_Estimate_ApplicationUser_ClientId", table: "Estimate"); + migrationBuilder.DropForeignKey(name: "FK_BlogTag_BlogPost_PostId", table: "BlogTag"); + migrationBuilder.DropForeignKey(name: "FK_BlogTag_Tag_TagId", table: "BlogTag"); + migrationBuilder.DropForeignKey(name: "FK_Comment_ApplicationUser_AuthorId", table: "Comment"); + migrationBuilder.DropForeignKey(name: "FK_Comment_BlogPost_PostId", table: "Comment"); + migrationBuilder.DropForeignKey(name: "FK_Schedule_ApplicationUser_OwnerId", table: "Schedule"); + migrationBuilder.DropForeignKey(name: "FK_ChatConnection_ApplicationUser_ApplicationUserId", table: "ChatConnection"); + migrationBuilder.DropForeignKey(name: "FK_ChatRoomAccess_ApplicationUser_UserId", table: "ChatRoomAccess"); + migrationBuilder.DropForeignKey(name: "FK_BrusherProfile_PerformerProfile_UserId", table: "BrusherProfile"); + migrationBuilder.DropForeignKey(name: "FK_HairCutQuery_Activity_ActivityCode", table: "HairCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairCutQuery_ApplicationUser_ClientId", table: "HairCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairCutQuery_PerformerProfile_PerformerId", table: "HairCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairCutQuery_HairPrestation_PrestationId", table: "HairCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairMultiCutQuery_Activity_ActivityCode", table: "HairMultiCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairMultiCutQuery_ApplicationUser_ClientId", table: "HairMultiCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairMultiCutQuery_PerformerProfile_PerformerId", table: "HairMultiCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairPrestationCollectionItem_HairPrestation_PrestationId", table: "HairPrestationCollectionItem"); + migrationBuilder.DropForeignKey(name: "FK_HairPrestationCollectionItem_HairMultiCutQuery_QueryId", table: "HairPrestationCollectionItem"); + migrationBuilder.DropForeignKey(name: "FK_HairTaint_Color_ColorId", table: "HairTaint"); + migrationBuilder.DropForeignKey(name: "FK_HairTaintInstance_HairPrestation_PrestationId", table: "HairTaintInstance"); + migrationBuilder.DropForeignKey(name: "FK_HairTaintInstance_HairTaint_TaintId", table: "HairTaintInstance"); + migrationBuilder.DropForeignKey(name: "FK_DimissClicked_Notification_NotificationId", table: "DimissClicked"); + migrationBuilder.DropForeignKey(name: "FK_DimissClicked_ApplicationUser_UserId", table: "DimissClicked"); + migrationBuilder.DropForeignKey(name: "FK_Instrumentation_Instrument_InstrumentId", table: "Instrumentation"); + migrationBuilder.DropForeignKey(name: "FK_PayPalPayment_ApplicationUser_ExecutorId", table: "PayPalPayment"); + migrationBuilder.DropForeignKey(name: "FK_CircleMember_Circle_CircleId", table: "CircleMember"); + migrationBuilder.DropForeignKey(name: "FK_CircleMember_ApplicationUser_MemberId", table: "CircleMember"); + migrationBuilder.DropForeignKey(name: "FK_Contact_PostalAddress_AddressId", table: "Contact"); + migrationBuilder.DropForeignKey(name: "FK_LiveFlow_ApplicationUser_OwnerId", table: "LiveFlow"); + migrationBuilder.DropForeignKey(name: "FK_CommandForm_Activity_ActivityCode", table: "CommandForm"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_Location_OrganizationAddressId", table: "PerformerProfile"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_ApplicationUser_PerformerId", table: "PerformerProfile"); + migrationBuilder.DropForeignKey(name: "FK_RdvQuery_Activity_ActivityCode", table: "RdvQuery"); + migrationBuilder.DropForeignKey(name: "FK_RdvQuery_ApplicationUser_ClientId", table: "RdvQuery"); + migrationBuilder.DropForeignKey(name: "FK_RdvQuery_PerformerProfile_PerformerId", table: "RdvQuery"); + migrationBuilder.DropForeignKey(name: "FK_UserActivity_Activity_DoesCode", table: "UserActivity"); + migrationBuilder.DropForeignKey(name: "FK_UserActivity_PerformerProfile_UserId", table: "UserActivity"); + migrationBuilder.DropForeignKey(name: "FK_CircleAuthorizationToFile_Circle_CircleId", table: "CircleAuthorizationToFile"); + migrationBuilder.DropForeignKey(name: "FK_MailingTemplate_ApplicationUser_ManagerId", table: "MailingTemplate"); + migrationBuilder.DropForeignKey(name: "FK_MailingTemplate_ApplicationUser_SuccessorId", table: "MailingTemplate"); + migrationBuilder.DropForeignKey(name: "FK_Project_Activity_ActivityCode", table: "Project"); + migrationBuilder.DropForeignKey(name: "FK_Project_ApplicationUser_ClientId", table: "Project"); + migrationBuilder.DropForeignKey(name: "FK_Project_GitRepositoryReference_GitId", table: "Project"); + migrationBuilder.DropForeignKey(name: "FK_Project_PerformerProfile_PerformerId", table: "Project"); + migrationBuilder.DropForeignKey(name: "FK_ProjectBuildConfiguration_Project_ProjectId", table: "ProjectBuildConfiguration"); + migrationBuilder.Sql("delete from \"Circle\" where \"OwnerId\" is null"); + migrationBuilder.AlterColumn( + name: "OwnerId", + table: "Circle", + nullable: false); + migrationBuilder.AlterColumn( + name: "Name", + table: "Circle", + nullable: false); + migrationBuilder.AddForeignKey( + name: "FK_IdentityRoleClaim_IdentityRole_RoleId", + table: "AspNetRoleClaims", + column: "RoleId", + principalTable: "AspNetRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserClaim_ApplicationUser_UserId", + table: "AspNetUserClaims", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserLogin_ApplicationUser_UserId", + table: "AspNetUserLogins", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserRole_IdentityRole_RoleId", + table: "AspNetUserRoles", + column: "RoleId", + principalTable: "AspNetRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserRole_ApplicationUser_UserId", + table: "AspNetUserRoles", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Ban_ApplicationUser_TargetId", + table: "Ban", + column: "TargetId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BlackListed_ApplicationUser_OwnerId", + table: "BlackListed", + column: "OwnerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BlackListed_ApplicationUser_UserId", + table: "BlackListed", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CircleAuthorizationToBlogPost_BlogPost_BlogPostId", + table: "CircleAuthorizationToBlogPost", + column: "BlogPostId", + principalTable: "BlogPost", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CircleAuthorizationToBlogPost_Circle_CircleId", + table: "CircleAuthorizationToBlogPost", + column: "CircleId", + principalTable: "Circle", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_AccountBalance_ApplicationUser_UserId", + table: "AccountBalance", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BalanceImpact_AccountBalance_BalanceId", + table: "BalanceImpact", + column: "BalanceId", + principalTable: "AccountBalance", + principalColumn: "UserId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CommandLine_Estimate_EstimateId", + table: "CommandLine", + column: "EstimateId", + principalTable: "Estimate", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Estimate_ApplicationUser_ClientId", + table: "Estimate", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BlogTag_BlogPost_PostId", + table: "BlogTag", + column: "PostId", + principalTable: "BlogPost", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BlogTag_Tag_TagId", + table: "BlogTag", + column: "TagId", + principalTable: "Tag", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Comment_ApplicationUser_AuthorId", + table: "Comment", + column: "AuthorId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Comment_BlogPost_PostId", + table: "Comment", + column: "PostId", + principalTable: "BlogPost", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Schedule_ApplicationUser_OwnerId", + table: "Schedule", + column: "OwnerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_ChatConnection_ApplicationUser_ApplicationUserId", + table: "ChatConnection", + column: "ApplicationUserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_ChatRoomAccess_ApplicationUser_UserId", + table: "ChatRoomAccess", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BrusherProfile_PerformerProfile_UserId", + table: "BrusherProfile", + column: "UserId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairCutQuery_Activity_ActivityCode", + table: "HairCutQuery", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairCutQuery_ApplicationUser_ClientId", + table: "HairCutQuery", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairCutQuery_PerformerProfile_PerformerId", + table: "HairCutQuery", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairCutQuery_HairPrestation_PrestationId", + table: "HairCutQuery", + column: "PrestationId", + principalTable: "HairPrestation", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairMultiCutQuery_Activity_ActivityCode", + table: "HairMultiCutQuery", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairMultiCutQuery_ApplicationUser_ClientId", + table: "HairMultiCutQuery", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairMultiCutQuery_PerformerProfile_PerformerId", + table: "HairMultiCutQuery", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairPrestationCollectionItem_HairPrestation_PrestationId", + table: "HairPrestationCollectionItem", + column: "PrestationId", + principalTable: "HairPrestation", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairPrestationCollectionItem_HairMultiCutQuery_QueryId", + table: "HairPrestationCollectionItem", + column: "QueryId", + principalTable: "HairMultiCutQuery", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairTaint_Color_ColorId", + table: "HairTaint", + column: "ColorId", + principalTable: "Color", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairTaintInstance_HairPrestation_PrestationId", + table: "HairTaintInstance", + column: "PrestationId", + principalTable: "HairPrestation", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_HairTaintInstance_HairTaint_TaintId", + table: "HairTaintInstance", + column: "TaintId", + principalTable: "HairTaint", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_DimissClicked_Notification_NotificationId", + table: "DimissClicked", + column: "NotificationId", + principalTable: "Notification", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_DimissClicked_ApplicationUser_UserId", + table: "DimissClicked", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Instrumentation_Instrument_InstrumentId", + table: "Instrumentation", + column: "InstrumentId", + principalTable: "Instrument", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_PayPalPayment_ApplicationUser_ExecutorId", + table: "PayPalPayment", + column: "ExecutorId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CircleMember_Circle_CircleId", + table: "CircleMember", + column: "CircleId", + principalTable: "Circle", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CircleMember_ApplicationUser_MemberId", + table: "CircleMember", + column: "MemberId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Contact_PostalAddress_AddressId", + table: "Contact", + column: "AddressId", + principalTable: "PostalAddress", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_LiveFlow_ApplicationUser_OwnerId", + table: "LiveFlow", + column: "OwnerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CommandForm_Activity_ActivityCode", + table: "CommandForm", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_Location_OrganizationAddressId", + table: "PerformerProfile", + column: "OrganizationAddressId", + principalTable: "Location", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_ApplicationUser_PerformerId", + table: "PerformerProfile", + column: "PerformerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_RdvQuery_Activity_ActivityCode", + table: "RdvQuery", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_RdvQuery_ApplicationUser_ClientId", + table: "RdvQuery", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_RdvQuery_PerformerProfile_PerformerId", + table: "RdvQuery", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_UserActivity_Activity_DoesCode", + table: "UserActivity", + column: "DoesCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_UserActivity_PerformerProfile_UserId", + table: "UserActivity", + column: "UserId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CircleAuthorizationToFile_Circle_CircleId", + table: "CircleAuthorizationToFile", + column: "CircleId", + principalTable: "Circle", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_MailingTemplate_ApplicationUser_ManagerId", + table: "MailingTemplate", + column: "ManagerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_MailingTemplate_ApplicationUser_SuccessorId", + table: "MailingTemplate", + column: "SuccessorId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Project_Activity_ActivityCode", + table: "Project", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Project_ApplicationUser_ClientId", + table: "Project", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Project_GitRepositoryReference_GitId", + table: "Project", + column: "GitId", + principalTable: "GitRepositoryReference", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_Project_PerformerProfile_PerformerId", + table: "Project", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_ProjectBuildConfiguration_Project_ProjectId", + table: "ProjectBuildConfiguration", + column: "ProjectId", + principalTable: "Project", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropForeignKey(name: "FK_IdentityRoleClaim_IdentityRole_RoleId", table: "AspNetRoleClaims"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserClaim_ApplicationUser_UserId", table: "AspNetUserClaims"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserLogin_ApplicationUser_UserId", table: "AspNetUserLogins"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserRole_IdentityRole_RoleId", table: "AspNetUserRoles"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserRole_ApplicationUser_UserId", table: "AspNetUserRoles"); + migrationBuilder.DropForeignKey(name: "FK_Ban_ApplicationUser_TargetId", table: "Ban"); + migrationBuilder.DropForeignKey(name: "FK_BlackListed_ApplicationUser_OwnerId", table: "BlackListed"); + migrationBuilder.DropForeignKey(name: "FK_BlackListed_ApplicationUser_UserId", table: "BlackListed"); + migrationBuilder.DropForeignKey(name: "FK_CircleAuthorizationToBlogPost_BlogPost_BlogPostId", table: "CircleAuthorizationToBlogPost"); + migrationBuilder.DropForeignKey(name: "FK_CircleAuthorizationToBlogPost_Circle_CircleId", table: "CircleAuthorizationToBlogPost"); + migrationBuilder.DropForeignKey(name: "FK_AccountBalance_ApplicationUser_UserId", table: "AccountBalance"); + migrationBuilder.DropForeignKey(name: "FK_BalanceImpact_AccountBalance_BalanceId", table: "BalanceImpact"); + migrationBuilder.DropForeignKey(name: "FK_CommandLine_Estimate_EstimateId", table: "CommandLine"); + migrationBuilder.DropForeignKey(name: "FK_Estimate_ApplicationUser_ClientId", table: "Estimate"); + migrationBuilder.DropForeignKey(name: "FK_BlogTag_BlogPost_PostId", table: "BlogTag"); + migrationBuilder.DropForeignKey(name: "FK_BlogTag_Tag_TagId", table: "BlogTag"); + migrationBuilder.DropForeignKey(name: "FK_Comment_ApplicationUser_AuthorId", table: "Comment"); + migrationBuilder.DropForeignKey(name: "FK_Comment_BlogPost_PostId", table: "Comment"); + migrationBuilder.DropForeignKey(name: "FK_Schedule_ApplicationUser_OwnerId", table: "Schedule"); + migrationBuilder.DropForeignKey(name: "FK_ChatConnection_ApplicationUser_ApplicationUserId", table: "ChatConnection"); + migrationBuilder.DropForeignKey(name: "FK_ChatRoomAccess_ApplicationUser_UserId", table: "ChatRoomAccess"); + migrationBuilder.DropForeignKey(name: "FK_BrusherProfile_PerformerProfile_UserId", table: "BrusherProfile"); + migrationBuilder.DropForeignKey(name: "FK_HairCutQuery_Activity_ActivityCode", table: "HairCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairCutQuery_ApplicationUser_ClientId", table: "HairCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairCutQuery_PerformerProfile_PerformerId", table: "HairCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairCutQuery_HairPrestation_PrestationId", table: "HairCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairMultiCutQuery_Activity_ActivityCode", table: "HairMultiCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairMultiCutQuery_ApplicationUser_ClientId", table: "HairMultiCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairMultiCutQuery_PerformerProfile_PerformerId", table: "HairMultiCutQuery"); + migrationBuilder.DropForeignKey(name: "FK_HairPrestationCollectionItem_HairPrestation_PrestationId", table: "HairPrestationCollectionItem"); + migrationBuilder.DropForeignKey(name: "FK_HairPrestationCollectionItem_HairMultiCutQuery_QueryId", table: "HairPrestationCollectionItem"); + migrationBuilder.DropForeignKey(name: "FK_HairTaint_Color_ColorId", table: "HairTaint"); + migrationBuilder.DropForeignKey(name: "FK_HairTaintInstance_HairPrestation_PrestationId", table: "HairTaintInstance"); + migrationBuilder.DropForeignKey(name: "FK_HairTaintInstance_HairTaint_TaintId", table: "HairTaintInstance"); + migrationBuilder.DropForeignKey(name: "FK_DimissClicked_Notification_NotificationId", table: "DimissClicked"); + migrationBuilder.DropForeignKey(name: "FK_DimissClicked_ApplicationUser_UserId", table: "DimissClicked"); + migrationBuilder.DropForeignKey(name: "FK_Instrumentation_Instrument_InstrumentId", table: "Instrumentation"); + migrationBuilder.DropForeignKey(name: "FK_PayPalPayment_ApplicationUser_ExecutorId", table: "PayPalPayment"); + migrationBuilder.DropForeignKey(name: "FK_CircleMember_Circle_CircleId", table: "CircleMember"); + migrationBuilder.DropForeignKey(name: "FK_CircleMember_ApplicationUser_MemberId", table: "CircleMember"); + migrationBuilder.DropForeignKey(name: "FK_Contact_PostalAddress_AddressId", table: "Contact"); + migrationBuilder.DropForeignKey(name: "FK_LiveFlow_ApplicationUser_OwnerId", table: "LiveFlow"); + migrationBuilder.DropForeignKey(name: "FK_CommandForm_Activity_ActivityCode", table: "CommandForm"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_Location_OrganizationAddressId", table: "PerformerProfile"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_ApplicationUser_PerformerId", table: "PerformerProfile"); + migrationBuilder.DropForeignKey(name: "FK_RdvQuery_Activity_ActivityCode", table: "RdvQuery"); + migrationBuilder.DropForeignKey(name: "FK_RdvQuery_ApplicationUser_ClientId", table: "RdvQuery"); + migrationBuilder.DropForeignKey(name: "FK_RdvQuery_PerformerProfile_PerformerId", table: "RdvQuery"); + migrationBuilder.DropForeignKey(name: "FK_UserActivity_Activity_DoesCode", table: "UserActivity"); + migrationBuilder.DropForeignKey(name: "FK_UserActivity_PerformerProfile_UserId", table: "UserActivity"); + migrationBuilder.DropForeignKey(name: "FK_CircleAuthorizationToFile_Circle_CircleId", table: "CircleAuthorizationToFile"); + migrationBuilder.DropForeignKey(name: "FK_MailingTemplate_ApplicationUser_ManagerId", table: "MailingTemplate"); + migrationBuilder.DropForeignKey(name: "FK_MailingTemplate_ApplicationUser_SuccessorId", table: "MailingTemplate"); + migrationBuilder.DropForeignKey(name: "FK_Project_Activity_ActivityCode", table: "Project"); + migrationBuilder.DropForeignKey(name: "FK_Project_ApplicationUser_ClientId", table: "Project"); + migrationBuilder.DropForeignKey(name: "FK_Project_GitRepositoryReference_GitId", table: "Project"); + migrationBuilder.DropForeignKey(name: "FK_Project_PerformerProfile_PerformerId", table: "Project"); + migrationBuilder.DropForeignKey(name: "FK_ProjectBuildConfiguration_Project_ProjectId", table: "ProjectBuildConfiguration"); + migrationBuilder.AlterColumn( + name: "OwnerId", + table: "Circle", + nullable: true); + migrationBuilder.AlterColumn( + name: "Name", + table: "Circle", + nullable: true); + migrationBuilder.AddForeignKey( + name: "FK_IdentityRoleClaim_IdentityRole_RoleId", + table: "AspNetRoleClaims", + column: "RoleId", + principalTable: "AspNetRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserClaim_ApplicationUser_UserId", + table: "AspNetUserClaims", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserLogin_ApplicationUser_UserId", + table: "AspNetUserLogins", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserRole_IdentityRole_RoleId", + table: "AspNetUserRoles", + column: "RoleId", + principalTable: "AspNetRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserRole_ApplicationUser_UserId", + table: "AspNetUserRoles", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Ban_ApplicationUser_TargetId", + table: "Ban", + column: "TargetId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BlackListed_ApplicationUser_OwnerId", + table: "BlackListed", + column: "OwnerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BlackListed_ApplicationUser_UserId", + table: "BlackListed", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CircleAuthorizationToBlogPost_BlogPost_BlogPostId", + table: "CircleAuthorizationToBlogPost", + column: "BlogPostId", + principalTable: "BlogPost", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CircleAuthorizationToBlogPost_Circle_CircleId", + table: "CircleAuthorizationToBlogPost", + column: "CircleId", + principalTable: "Circle", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_AccountBalance_ApplicationUser_UserId", + table: "AccountBalance", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BalanceImpact_AccountBalance_BalanceId", + table: "BalanceImpact", + column: "BalanceId", + principalTable: "AccountBalance", + principalColumn: "UserId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CommandLine_Estimate_EstimateId", + table: "CommandLine", + column: "EstimateId", + principalTable: "Estimate", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Estimate_ApplicationUser_ClientId", + table: "Estimate", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BlogTag_BlogPost_PostId", + table: "BlogTag", + column: "PostId", + principalTable: "BlogPost", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BlogTag_Tag_TagId", + table: "BlogTag", + column: "TagId", + principalTable: "Tag", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Comment_ApplicationUser_AuthorId", + table: "Comment", + column: "AuthorId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Comment_BlogPost_PostId", + table: "Comment", + column: "PostId", + principalTable: "BlogPost", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Schedule_ApplicationUser_OwnerId", + table: "Schedule", + column: "OwnerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_ChatConnection_ApplicationUser_ApplicationUserId", + table: "ChatConnection", + column: "ApplicationUserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_ChatRoomAccess_ApplicationUser_UserId", + table: "ChatRoomAccess", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BrusherProfile_PerformerProfile_UserId", + table: "BrusherProfile", + column: "UserId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairCutQuery_Activity_ActivityCode", + table: "HairCutQuery", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairCutQuery_ApplicationUser_ClientId", + table: "HairCutQuery", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairCutQuery_PerformerProfile_PerformerId", + table: "HairCutQuery", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairCutQuery_HairPrestation_PrestationId", + table: "HairCutQuery", + column: "PrestationId", + principalTable: "HairPrestation", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairMultiCutQuery_Activity_ActivityCode", + table: "HairMultiCutQuery", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairMultiCutQuery_ApplicationUser_ClientId", + table: "HairMultiCutQuery", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairMultiCutQuery_PerformerProfile_PerformerId", + table: "HairMultiCutQuery", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairPrestationCollectionItem_HairPrestation_PrestationId", + table: "HairPrestationCollectionItem", + column: "PrestationId", + principalTable: "HairPrestation", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairPrestationCollectionItem_HairMultiCutQuery_QueryId", + table: "HairPrestationCollectionItem", + column: "QueryId", + principalTable: "HairMultiCutQuery", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairTaint_Color_ColorId", + table: "HairTaint", + column: "ColorId", + principalTable: "Color", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairTaintInstance_HairPrestation_PrestationId", + table: "HairTaintInstance", + column: "PrestationId", + principalTable: "HairPrestation", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_HairTaintInstance_HairTaint_TaintId", + table: "HairTaintInstance", + column: "TaintId", + principalTable: "HairTaint", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_DimissClicked_Notification_NotificationId", + table: "DimissClicked", + column: "NotificationId", + principalTable: "Notification", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_DimissClicked_ApplicationUser_UserId", + table: "DimissClicked", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Instrumentation_Instrument_InstrumentId", + table: "Instrumentation", + column: "InstrumentId", + principalTable: "Instrument", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_PayPalPayment_ApplicationUser_ExecutorId", + table: "PayPalPayment", + column: "ExecutorId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CircleMember_Circle_CircleId", + table: "CircleMember", + column: "CircleId", + principalTable: "Circle", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CircleMember_ApplicationUser_MemberId", + table: "CircleMember", + column: "MemberId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Contact_PostalAddress_AddressId", + table: "Contact", + column: "AddressId", + principalTable: "PostalAddress", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_LiveFlow_ApplicationUser_OwnerId", + table: "LiveFlow", + column: "OwnerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CommandForm_Activity_ActivityCode", + table: "CommandForm", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_Location_OrganizationAddressId", + table: "PerformerProfile", + column: "OrganizationAddressId", + principalTable: "Location", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_ApplicationUser_PerformerId", + table: "PerformerProfile", + column: "PerformerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_RdvQuery_Activity_ActivityCode", + table: "RdvQuery", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_RdvQuery_ApplicationUser_ClientId", + table: "RdvQuery", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_RdvQuery_PerformerProfile_PerformerId", + table: "RdvQuery", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_UserActivity_Activity_DoesCode", + table: "UserActivity", + column: "DoesCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_UserActivity_PerformerProfile_UserId", + table: "UserActivity", + column: "UserId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CircleAuthorizationToFile_Circle_CircleId", + table: "CircleAuthorizationToFile", + column: "CircleId", + principalTable: "Circle", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_MailingTemplate_ApplicationUser_ManagerId", + table: "MailingTemplate", + column: "ManagerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_MailingTemplate_ApplicationUser_SuccessorId", + table: "MailingTemplate", + column: "SuccessorId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Project_Activity_ActivityCode", + table: "Project", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Project_ApplicationUser_ClientId", + table: "Project", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Project_GitRepositoryReference_GitId", + table: "Project", + column: "GitId", + principalTable: "GitRepositoryReference", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_Project_PerformerProfile_PerformerId", + table: "Project", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_ProjectBuildConfiguration_Project_ProjectId", + table: "ProjectBuildConfiguration", + column: "ProjectId", + principalTable: "Project", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + } + } +} diff --git a/src/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs b/src/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs index a2eff931..33e5bcf6 100644 --- a/src/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/src/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1103,9 +1103,11 @@ namespace Yavsc.Migrations b.Property("ApplicationUserId"); - b.Property("Name"); + b.Property("Name") + .IsRequired(); - b.Property("OwnerId"); + b.Property("OwnerId") + .IsRequired(); b.Property("Public");