Skip to content

Automigrate -- auto-apply on the server #18

@tantaman

Description

@tantaman

After updating a schema file, we require users to restart the server. Oof.

We should:

  1. watch schema files
  2. on schema file change, see if any open connections exist
  3. for each open connection, see if the db uses the changed schema
  4. for each db from (3), tear down the connection

The client will re-establish the connection and cause a migration to kick off.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions