---
name: "Pinto::Schema::Result::Package"
section: "3pm"
platform: "linux"
package: "pinto"
version: "0.14000-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Pinto::Schema::Result::Package"
---

# Pinto::Schema::Result::Package(3pm)

Represents a Package provided by a Distribution

## NAME

Pinto::Schema::Result::Package - Represents a Package provided by a Distribution

## VERSION

version 0.14

## NAME

Pinto::Schema::Result::Package

## TABLE: "package"

## ACCESSORS

### id

```
  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0
```

### name

```
  data_type: 'text'
  is_nullable: 0
```

### version

```
  data_type: 'text'
  is_nullable: 0
```

### file

```
  data_type: 'text'
  default_value: null
  is_nullable: 1
```

### sha256

```
  data_type: 'text'
  default_value: null
  is_nullable: 1
```

### distribution

```
  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0
```

## PRIMARY KEY

- •

  "id"

## UNIQUE CONSTRAINTS

### "name\_distribution\_unique"

- •

  "name"

- •

  "distribution"

## RELATIONS

### distribution

Type: belongs\_to

Related object: Pinto::Schema::Result::Distribution

### registrations

Type: has\_many

Related object: Pinto::Schema::Result::Registration

## Moose ROLES APPLIED

- •

  Pinto::Role::Schema::Result

## AUTHOR

Jeffrey Ryan Thalhammer \<jeff@stratopan.com\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
