| 1 | package ETLp::Schema::Result::EtlpScheduleMinute; | ||
| 2 | |||
| 3 | # Created by DBIx::Class::Schema::Loader | ||
| 4 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||
| 5 | |||
| 6 | use strict; | ||
| 7 | use warnings; | ||
| 8 | |||
| 9 | use base 'DBIx::Class::Core'; | ||
| 10 | |||
| 11 | __PACKAGE__->load_components("InflateColumn::DateTime"); | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | ETLp::Schema::Result::EtlpScheduleMinute | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | __PACKAGE__->table("etlp_schedule_minute"); | ||
| 20 | |||
| 21 | =head1 ACCESSORS | ||
| 22 | |||
| 23 | =head2 schedule_minute_id | ||
| 24 | |||
| 25 | is_auto_increment: 1 | ||
| 26 | |||
| 27 | =head2 schedule_id | ||
| 28 | |||
| 29 | data_type: 'integer' | ||
| 30 | is_foreign_key: 1 | ||
| 31 | is_nullable: 0 | ||
| 32 | original: {data_type => "number",size => [38,0]} | ||
| 33 | |||
| 34 | =head2 schedule_minute | ||
| 35 | |||
| 36 | data_type: 'integer' | ||
| 37 | is_nullable: 0 | ||
| 38 | original: {data_type => "number",size => [38,0]} | ||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | __PACKAGE__->add_columns( | ||
| 43 | "schedule_minute_id", | ||
| 44 | { is_auto_increment => 1 }, | ||
| 45 | "schedule_id", | ||
| 46 | { | ||
| 47 | data_type => "integer", | ||
| 48 | is_foreign_key => 1, | ||
| 49 | is_nullable => 0, | ||
| 50 | original => { data_type => "number", size => [38, 0] }, | ||
| 51 | }, | ||
| 52 | "schedule_minute", | ||
| 53 | { | ||
| 54 | data_type => "integer", | ||
| 55 | is_nullable => 0, | ||
| 56 | original => { data_type => "number", size => [38, 0] }, | ||
| 57 | }, | ||
| 58 | ); | ||
| 59 | __PACKAGE__->set_primary_key("schedule_minute_id"); | ||
| 60 | |||
| 61 | =head1 RELATIONS | ||
| 62 | |||
| 63 | =head2 schedule | ||
| 64 | |||
| 65 | Type: belongs_to | ||
| 66 | |||
| 67 | Related object: L<ETLp::Schema::Result::EtlpSchedule> | ||
| 68 | |||
| 69 | =cut | ||
| 70 | |||
| 71 | __PACKAGE__->belongs_to( | ||
| 72 | "schedule", | ||
| 73 | "ETLp::Schema::Result::EtlpSchedule", | ||
| 74 | { schedule_id => "schedule_id" }, | ||
| 75 | { on_delete => "CASCADE", on_update => "CASCADE" }, | ||
| 76 | ); | ||
| 77 | |||
| 78 | |||
| 79 | # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-06-25 13:03:18 | ||
| 80 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d7K6hb8oIjaGgDh/IZ1Mzw | ||
| 81 | |||
| 82 | use Data::Page::Navigation; | ||
| 83 | |||
| 84 | # You can replace this text with custom content, and it will be preserved on regeneration | ||
| 85 | 1; |