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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Nov 12, 2021, 11:00 AM EST
Rijwan AnsariRank #82 · 24.2K reputationPosted Nov 12, 2021, 8:57 AM EST
Sardar Mudassar Ali KhanRank #18 · 48.8K reputationPosted Dec 1, 2021, 3:02 PM EST
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.
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Nov 11, 2021, 7:03 AM EST
RohanRank #1,548 · 1K reputationPosted Nov 11, 2021, 7:05 AM EST
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Nov 11, 2021, 7:25 AM EST
Vikas PanwarRank #1,447 · 1.1K reputationPosted Nov 11, 2021, 7:39 AM EST
RohanRank #1,548 · 1K reputationPosted Nov 11, 2021, 11:09 PM EST
Vikas PanwarRank #1,447 · 1.1K reputationPosted Nov 11, 2021, 11:48 PM EST
geetha geethaRank #7,130 · 248 reputationPosted Nov 26, 2021, 6:50 AM EST
ADD MIGRATION command with the name of your migration class,Aishwarya24 reputationPosted Dec 3, 2021, 5:04 AM EST
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..