Fix bind exclude fail issue and enable automatic migrations