use utf8; package MJB::DB::Result::AuthToken; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE =head1 NAME MJB::DB::Result::AuthToken =cut use strict; use warnings; use base 'DBIx::Class::Core'; =head1 COMPONENTS LOADED =over 4 =item * L =item * L =back =cut __PACKAGE__->load_components("InflateColumn::DateTime", "InflateColumn::Serializer"); =head1 TABLE: C =cut __PACKAGE__->table("auth_token"); =head1 ACCESSORS =head2 id data_type: 'integer' is_auto_increment: 1 is_nullable: 0 sequence: 'auth_token_id_seq' =head2 person_id data_type: 'integer' is_foreign_key: 1 is_nullable: 0 =head2 scope data_type: 'text' is_nullable: 0 =head2 token data_type: 'text' is_nullable: 0 =head2 created_at data_type: 'timestamp with time zone' default_value: current_timestamp is_nullable: 0 =cut __PACKAGE__->add_columns( "id", { data_type => "integer", is_auto_increment => 1, is_nullable => 0, sequence => "auth_token_id_seq", }, "person_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "scope", { data_type => "text", is_nullable => 0 }, "token", { data_type => "text", is_nullable => 0 }, "created_at", { data_type => "timestamp with time zone", default_value => \"current_timestamp", is_nullable => 0, }, ); =head1 PRIMARY KEY =over 4 =item * L =back =cut __PACKAGE__->set_primary_key("id"); =head1 RELATIONS =head2 person Type: belongs_to Related object: L =cut __PACKAGE__->belongs_to( "person", "MJB::DB::Result::Person", { id => "person_id" }, { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" }, ); # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-07 02:12:13 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QswwNuQ8rXDUWbDi3kaEYA # You can replace this text with custom code or comments, and it will be preserved on regeneration 1;