Database working
Fixed migration