Adding migrations for online state database