Jesse Vincent > Jifty > Jifty::Schema

Download:
Jifty-0.70824.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  4
Stalled  1
View/Report Bugs
Source   Latest Release: Jifty-1.10518

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.

syntax highlighting: