Questions tagged as 'migrations'

1
answer

Migrations Asp Net MVC

I made a project first by feeding my application ASP.Net MVC to a SQL Server database that I set in the web.config (connectionString) file. Then, following some courses I did, I started using Migrations to update the database tables. P...
asked by 22.02.2018 / 18:51
0
answers

Error creating Database - Validation failed for one or more entities. See 'EntityValidationErrors' property for more details

I'm having this error:    Validation failed for one or more entities. See 'EntityValidationErrors' property for more details During the creation of the database it presents me with this error. I can do the migrations , but when I upda...
asked by 07.02.2018 / 16:04
1
answer

Error while executing Migrations

Friends, I have two DeliveryFee and City entities, where DeliveryFee has a City FK, when I went to remove the relationship between the two and I managed the Migration it returned the following error.    'FK_dbo.DeliveryFees_dbo.Cities_Cities_...
asked by 02.10.2017 / 19:58
1
answer

Error in Migrations EntityFramework C #

Error while performing Migrations.   The ADO.NET provider with invariant name 'SqlClient' is either not registered in the machine or application config file, or could not be loaded. See the inner exception for details. My App.Config <...
asked by 22.06.2017 / 21:46
1
answer

Problem when migrating with Python and Django: no such column: forum_thread.slug

I have this problem in my code: OperationalError at /admin/forum/thread/ no such column: forum_thread.slug I've tried to make a million changes and I could not. When I run the command python manage.py makemigrations it return...
asked by 03.06.2017 / 10:26
1
answer

Error trying to recreate a table with code first (Migration)

I'm following the Eduardo Pires tutorial on DDD + Asp.Net MVC 5 + IoC and etc. Well, in the first attempt to create the bank and the customer table, it was gem. It turns out that Eduardo made some changes and I followed (I'm learning from him) a...
asked by 03.03.2017 / 18:15
1
answer

How to perform a self-update on a local web system?

Speak, gal, blz? I developed a web system (in CodeIgniter) for a client and it runs on a local machine inside your office. Whenever I need to update the system, I perform the following steps: TeamViewer server access; I open the CMDER...
asked by 23.05.2018 / 23:57