> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ejpackage table

> This table stores packages on the system.

## ejpackage Table (384)

This table stores packages on the system.

## Fields

| Name             | Description                                                  | Type                              | Nullable |
| ---------------- | ------------------------------------------------------------ | --------------------------------- | :------: |
| id               | Primary key                                                  | PK                                |    No    |
| name             | The name of this package                                     | String(255)                       |    Yes   |
| ej\_version      | The oldest eJournal version this package can be installed on | String(255)                       |    Yes   |
| package\_version | Version of the created package                               | String(255)                       |    Yes   |
| description      | Description/comment                                          | String(255)                       |    Yes   |
| attachment\_id   | The attachment.id for the attachment containing the xml      | FK [attachment](./attachment.mdx) |    No    |
| uploaded\_at     | Time of upload of this package                               | DateTime                          |    Yes   |
| uploaded\_by     | Uploaded by                                                  | FK [ejuser](./ejuser.mdx)         |    No    |
| install\_script  | Installation script                                          | Clob                              |    Yes   |
| locked           | Locked package - components should not be modified by users  | Bool                              |    No    |

<img src="https://mintcdn.com/superofficeas-bugfix-ty-screen-designer-paradox/A8Y_bcgEblTh4XOv/media/loc/en/database/tables/ejpackage.png?fit=max&auto=format&n=A8Y_bcgEblTh4XOv&q=85&s=7221473b8515f17126c3b696313ca83f" alt="ejpackage table relationship diagram" width="706" height="658" data-path="media/loc/en/database/tables/ejpackage.png" />

## Indexes

| Fields         | Types | Description |
| -------------- | ----- | ----------- |
| attachment\_id | FK    | Index       |
| uploaded\_by   | FK    | Index       |

## Relationships

| Table                               | Description                                                                                                                                                   |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [attachment](./attachment)          | This table contains metadata for attachments. The actual attachments are stored directly on disk, with filenames based on the the primary key for this table. |
| [ejpackage\_item](./ejpackage-item) | This table stores info on installed packages in the system                                                                                                    |
| [ejuser](./ejuser)                  | This table contains entries for the users of the system.                                                                                                      |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.
