AccountGo / accountgo

Accounting System built in ASP.NET DotNetCore, ReactJS, MobX. Don't forget to click STAR if you like this project.
http://accountgo.net
MIT License
385 stars 313 forks source link

Clean database setup complains with error "There is already an object named 'AccountClass' in the database." #116

Closed pomeara closed 5 years ago

pomeara commented 5 years ago

With a new database when running the migrations I get the following error "There is already an object named 'AccountClass' in the database."

image

mvperez commented 5 years ago

Hi @rhuebner76 , would you be able to look at this when you have a free time? Thanks in advance!

rhuebner76 commented 5 years ago

Okay, there appear to be duplicated migrations in the master, most likely a merge error. The last PR I had moved the migrations to context specific directories to keep better separation. I will try to update my branches to remove them.

mvperez commented 5 years ago

I like having separate directories for each context. Can we fix the issue and also keep the folder separation? The reason for this is because, in the future we may have small bounded context.

rhuebner76 commented 5 years ago

@marvinvperez, separating the migrations by context was the plan, however it seems an artifact of a previous check-in migrated into the master with the separate (duplicate) migration. I will submit a new PR with the files removed.

mvperez commented 5 years ago

Thanks @rhuebner76 !

@pomeara, can you confirm if the issue is fixed? Thanks

pomeara commented 5 years ago

Yes I can now get it to build thanks!