| Lines 23-40
          __PACKAGE__->table("api_keys");
      
      
        Link Here | 
        
          | 23 |  | 23 |  | 
        
          | 24 | =head1 ACCESSORS | 24 | =head1 ACCESSORS | 
        
          | 25 |  | 25 |  | 
            
              | 26 | =head2 id |  |  | 
            
              | 27 |  | 
            
              | 28 |   data_type: 'integer' | 
            
              | 29 |   is_auto_increment: 1 | 
            
              | 30 |   is_nullable: 0 | 
            
              | 31 |  | 
            
              | 32 | =head2 patron_id | 
            
              | 33 |  | 
            
              | 34 |   data_type: 'integer' | 
            
              | 35 |   is_foreign_key: 1 | 
            
              | 36 |   is_nullable: 0 | 
            
              | 37 |  | 
        
          | 38 | =head2 client_id | 26 | =head2 client_id | 
        
          | 39 |  | 27 |  | 
        
          | 40 |   data_type: 'varchar' | 28 |   data_type: 'varchar' | 
  
    | Lines 53-58
          __PACKAGE__->table("api_keys");
      
      
        Link Here | 
        
          | 53 |   is_nullable: 0 | 41 |   is_nullable: 0 | 
        
          | 54 |   size: 255 | 42 |   size: 255 | 
        
          | 55 |  | 43 |  | 
            
              |  |  | 44 | =head2 patron_id | 
            
              | 45 |  | 
            
              | 46 |   data_type: 'integer' | 
            
              | 47 |   is_foreign_key: 1 | 
            
              | 48 |   is_nullable: 0 | 
            
              | 49 |  | 
        
          | 56 | =head2 active | 50 | =head2 active | 
        
          | 57 |  | 51 |  | 
        
          | 58 |   data_type: 'tinyint' | 52 |   data_type: 'tinyint' | 
  
    | Lines 62-77
          __PACKAGE__->table("api_keys");
      
      
        Link Here | 
        
          | 62 | =cut | 56 | =cut | 
        
          | 63 |  | 57 |  | 
        
          | 64 | __PACKAGE__->add_columns( | 58 | __PACKAGE__->add_columns( | 
            
              | 65 |   "id", |  |  | 
            
              | 66 |   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | 
            
              | 67 |   "patron_id", | 
            
              | 68 |   { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | 
        
          | 69 |   "client_id", | 59 |   "client_id", | 
        
          | 70 |   { data_type => "varchar", is_nullable => 0, size => 191 }, | 60 |   { data_type => "varchar", is_nullable => 0, size => 191 }, | 
        
          | 71 |   "secret", | 61 |   "secret", | 
        
          | 72 |   { data_type => "varchar", is_nullable => 0, size => 191 }, | 62 |   { data_type => "varchar", is_nullable => 0, size => 191 }, | 
        
          | 73 |   "description", | 63 |   "description", | 
        
          | 74 |   { data_type => "varchar", is_nullable => 0, size => 255 }, | 64 |   { data_type => "varchar", is_nullable => 0, size => 255 }, | 
            
              |  |  | 65 |   "patron_id", | 
            
              | 66 |   { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | 
        
          | 75 |   "active", | 67 |   "active", | 
        
          | 76 |   { data_type => "tinyint", default_value => 1, is_nullable => 0 }, | 68 |   { data_type => "tinyint", default_value => 1, is_nullable => 0 }, | 
        
          | 77 | ); | 69 | ); | 
  
    | Lines 80-107
          __PACKAGE__->add_columns(
      
      
        Link Here | 
        
          | 80 |  | 72 |  | 
        
          | 81 | =over 4 | 73 | =over 4 | 
        
          | 82 |  | 74 |  | 
          
            
              | 83 | =item * L</id> | 75 | =item * L</client_id> | 
        
          | 84 |  | 76 |  | 
        
          | 85 | =back | 77 | =back | 
        
          | 86 |  | 78 |  | 
        
          | 87 | =cut | 79 | =cut | 
        
          | 88 |  | 80 |  | 
          
            
              | 89 | __PACKAGE__->set_primary_key("id"); | 81 | __PACKAGE__->set_primary_key("client_id"); | 
        
          | 90 |  | 82 |  | 
        
          | 91 | =head1 UNIQUE CONSTRAINTS | 83 | =head1 UNIQUE CONSTRAINTS | 
        
          | 92 |  | 84 |  | 
            
              | 93 | =head2 C<client_id> |  |  | 
            
              | 94 |  | 
            
              | 95 | =over 4 | 
            
              | 96 |  | 
            
              | 97 | =item * L</client_id> | 
            
              | 98 |  | 
            
              | 99 | =back | 
            
              | 100 |  | 
            
              | 101 | =cut | 
            
              | 102 |  | 
            
              | 103 | __PACKAGE__->add_unique_constraint("client_id", ["client_id"]); | 
            
              | 104 |  | 
        
          | 105 | =head2 C<secret> | 85 | =head2 C<secret> | 
        
          | 106 |  | 86 |  | 
        
          | 107 | =over 4 | 87 | =over 4 | 
  
    | Lines 132-139
          __PACKAGE__->belongs_to(
      
      
        Link Here | 
        
          | 132 | ); | 112 | ); | 
        
          | 133 |  | 113 |  | 
        
          | 134 |  | 114 |  | 
          
            
              | 135 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-04-14 00:56:23 | 115 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-04-14 14:48:10 | 
            
              | 136 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:b7AUAgl2SClXJ2lzPVV0FA | 116 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qnu4QSACpOSQaZgd52ozmw | 
        
          | 137 |  | 117 |  | 
        
          | 138 | __PACKAGE__->add_columns( | 118 | __PACKAGE__->add_columns( | 
        
          | 139 |     '+active' => { is_boolean => 1 } | 119 |     '+active' => { is_boolean => 1 } |