1 package SGN
::Schema
::FishResultImage
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
14 SGN::Schema::FishResultImage
18 __PACKAGE__
->table("fish_result_image");
22 =head2 fish_result_image_id
27 sequence: 'fish_result_image_fish_result_image_id_seq'
42 __PACKAGE__
->add_columns(
43 "fish_result_image_id",
45 data_type
=> "integer",
46 is_auto_increment
=> 1,
48 sequence
=> "fish_result_image_fish_result_image_id_seq",
51 { data_type
=> "bigint", is_nullable
=> 1 },
53 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
55 __PACKAGE__
->set_primary_key("fish_result_image_id");
63 Related object: L<SGN::Schema::FishResult>
67 __PACKAGE__
->belongs_to(
69 "SGN::Schema::FishResult",
70 { fish_result_id
=> "fish_result_id" },
74 on_delete
=> "CASCADE",
75 on_update
=> "CASCADE",
80 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
81 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L5lujszy4fNROQMVyCqPqw
84 # You can replace this text with custom content, and it will be preserved on regeneration