smah.database
- class smah.database.Database(args)[source]
Bases:
object- DEFAULT_DATABASE = '/home/docs/.smah/smah.db'
- class smah.database.Migration[source]
Bases:
object- MIGRATIONS_DIR = '/home/docs/checkouts/readthedocs.org/user_builds/smah/checkouts/stable/smah/database/migrations'
- static apply_migration(database: Database, migration: dict, silent: bool = False, exit_on_finish: bool = True) tuple[source]
- static migrate(database: Database, args: Namespace, silent: bool = False, exit_on_finish: bool = True) tuple[source]
Modules