1use utf8; 2package Test2::Harness::UI::Schema::Result::EmailVerificationCode; 3 4# Created by DBIx::Class::Schema::Loader 5# DO NOT MODIFY THE FIRST PART OF THIS FILE 6 7use strict; 8use warnings; 9 10use base 'DBIx::Class::Core'; 11__PACKAGE__->load_components( 12 "InflateColumn::DateTime", 13 "InflateColumn::Serializer", 14 "InflateColumn::Serializer::JSON", 15 "Tree::AdjacencyList", 16 "UUIDColumns", 17); 18__PACKAGE__->table("email_verification_codes"); 19__PACKAGE__->add_columns( 20 "evcode_id", 21 { data_type => "char", is_nullable => 0, size => 36 }, 22 "email_id", 23 { data_type => "char", is_foreign_key => 1, is_nullable => 0, size => 36 }, 24); 25__PACKAGE__->set_primary_key("evcode_id"); 26__PACKAGE__->add_unique_constraint("email_id", ["email_id"]); 27__PACKAGE__->belongs_to( 28 "email", 29 "Test2::Harness::UI::Schema::Result::Email", 30 { email_id => "email_id" }, 31 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" }, 32); 33 34 35# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-26 13:48:31 36# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jtR56HMyxK/U80s817tXFA 37 38 39# You can replace this text with custom code or comments, and it will be preserved on regeneration 401; 41