> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/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/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/ejpackage.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=1356446be404b8dcaa0be801075c40b7" 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.


## Related topics

- [ejpackage_item table](/en/database/tables/ejpackage-item.md)
- [attachment table](/en/database/tables/attachment.md)
- [ejuser table](/en/database/tables/ejuser.md)
- [Steps performed when we clone a source database to a production sandbox](/en/online/sandbox/clone-to.md)
- [Database table listing](/en/database/tables/index.md)
- [extra_tables table](/en/database/tables/extra-tables.md)
