Skip to content

Migrate SQL DB with its Data #448

Answered by nhathoang989
UmerTariqKhan asked this question in Q&A
Discussion options

You must be logged in to vote

I pulled new code from the development branch see lots of changes in code and DB, Now problem is to migrate the old DB with its data. I tried but (1) gives an error (2). Don't know which table needs to be recreated. Please help and mention the steps. Thanks Alot

1- "ctx.Database.Migrate();"
2- "Change the IDENTITY property of a column, the column needs to be dropped and recreated".

I've recently updated and merged to master due to a problem in SqlServer Migration. Please re-pull the newest source from master.
7ed55ac

Replies: 8 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nhathoang989
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Smilefounder
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants