Fix migrations - postgres