Fix reset database

Column names dont exists in first time so migration will fail in case of reset