Fixed database migration errors due copy-paste bugs
Merge pull request #150 from borovsky/3f97e5807fdea1300cd00dea52893538b3b74c5d

It was major problem with migrations: due to parameter niling incorrect set of migrations was runned