Database module of Stalker.
Whenever stalker.db or something under it imported, the stalker.db.setup() becomes available to let one setup the database.
Functions
| create_alembic_table() | creates the default alembic_version table and creates the data so that |
| create_entity_statuses([entity_type, ...]) | creates the default task statuses |
| create_ticket_statuses() | creates the default ticket statuses |
| engine_from_config(configuration[, prefix]) | Create a new Engine instance using a configuration dictionary. |
| init() | fills the database with default values |
| register(class_) | Registers the given class to the database. |
| setup([settings]) | Utility function that helps to connect the system to the given database. |
| update_defaults_with_studio() | updates the default values from Studio instance if a database and a |
Classes
| Base(**kwargs) |
Exceptions
| IntegrityError(statement, params, orig[, ...]) | Wraps a DB-API IntegrityError. |