Jifty::Schema.3pm

Langue: en

Autres versions - même langue

Version: 2009-02-12 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Jifty::Schema - Jifty schemas

new

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

_init_model_list

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

serialize_current_schema

Returns a serialization of the models in the app

upgrade_schema

Looks at the current schemas as defined by the source 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.