Storm::Aeolus - Install classes to the database
$storm->aeolus->install_class_table( 'Person' ); $storm->aeolus->install_junction_tables( 'Person' ); $storm->aeolus->install_class( 'Person' );
Aeolus is the Greek god of the winds.
Storm::Aeolus can introspect your object classes and create the appropriate definitions in the database. It is important you setup a policy (see Storm::Policy) for any custom types you have created.
The Storm storm instance that Aeolus should act on.
- install_class $class
Installs the all necessary tables for storing the class by calling
- install_class_table $class
Installs the primary data table for the
- install_junction_tables $class
Installs any junction tables necessary to store relationship information between objects.
- install_model $class
install_classfor all members of the model;
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
Copyright (c) 2010 Jeffrey Ray Hallock. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.