Jifty::Schema(3) generates and upgrades your application's schema

new

Returns a new Jifty::Schema. Takes no arguments. Will automatically figure out and initialize the models defined in the application's source.

_init_model_list

Reads in our application class from the config file and finds all our application's models.

models

Returns a list of Models available to your application. This includes your Models, Collections and those that come from core Jifty and plugins.

Unfortunately, this list does not contain any of the PubSub Models

serialize_current_schema

Returns a serialization of the models in the app

upgrade_schema

Looks at the current schema as defined by the source code and the database and updates the database by adding, dropping, and renaming columns.

run_upgrade_rules rule_name

This method runs all upgrade rules for the rule named "rule_name".

connect_to_db_for_management

Returns a database handle suitable for direct manipulation.