Show
Ignore:
Timestamp:
02/08/08 02:44:39 (2 years ago)
Author:
eevee
Message:

Database refactoring. Renamed columns and tables to be more consistent and more readable. (#58)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/lib/Vee/Schema/Abilities.pm

    r350 r406  
    1313__PACKAGE__->load_components('Core'); 
    1414__PACKAGE__->table('abilities'); 
    15 __PACKAGE__->add_columns(qw/ id name gameblurb effect /); 
     15__PACKAGE__->add_columns(qw/ id name blurb_dp description /); 
    1616__PACKAGE__->set_primary_key('id'); 
    1717 
    18 __PACKAGE__->has_many(pokemon_abilities => 'Vee::Schema::PokemonAbilities', 'abilityid'); 
     18__PACKAGE__->has_many(pokemon_abilities => 'Vee::Schema::PokemonAbilities', 'ability_id'); 
    1919__PACKAGE__->many_to_many(pokemon => 'pokemon_abilities', 'pokemon'); 
    2020