Add column in table with ASP.NET identity
This is my step
1.Enable-Migrations
2.Public DateTime? ABC{get;set;}
3.Add-Migration "ABC" - I have here confuse what is this . Add this columns in table ya this is table name
4.Update DataBase
Add column in table with ASP.NET identity
This is my step
1.Enable-Migrations
2.Public DateTime? ABC{get;set;}
3.Add-Migration "ABC" - I have here confuse what is this . Add this columns in table ya this is table name
4.Update DataBase
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Nov 12, 2021, 4:00 PM
AishwaryaPosted Dec 3, 2021, 10:04 AM
Hi,
if you want to remigrate your existing migration...then you could implement this below command...
Add-Migration existingMigrationName -Force
hope it would help you..
Sardar Mudassar Ali KhanPosted Dec 1, 2021, 8:02 PM
If your project contains a migration folder, it signifies that migration is already enabled.As a result, you should add additional characteristics to your model add-migration You can give any name to migration like ModelsPropsUpdates in the column.update-database.
geetha geethaPosted Nov 26, 2021, 11:50 AM
ADD MIGRATION command with the name of your migration class,Rijwan AnsariPosted Nov 12, 2021, 1:57 PM
Vikas PanwarPosted Nov 12, 2021, 4:48 AM
RohanPosted Nov 12, 2021, 4:09 AM
Vikas PanwarPosted Nov 11, 2021, 12:39 PM
Srinivasan RamamoorthiPosted Nov 11, 2021, 12:25 PM
RohanPosted Nov 11, 2021, 12:05 PM
Srinivasan RamamoorthiPosted Nov 11, 2021, 12:03 PM