Crate ergol_cli[][src]

Modules

This module contains all the functions to help deal with the database.

This module contains everything needed to compute diffs between databases.

Functions

Returns the migration diff between last save state and current state.

Delete the whole database.

Find cargo toml.

Tries to find the database URL in Rocket.toml or Ergol.toml.

Finds the last saved db state.

Runs the ergol migrations.

Tries to sort the tables in order to avoid problems with dependencies.

Resets the database to the current state.

Saves the current state in a new migration.

Returns the db state from a directory.