# Database Setup

In order to save the output from Predictions to your Bubble database, I recommend creating a data type called "prediction" and creating two fields for it:

<table><thead><tr><th width="245">Field</th><th>Type</th></tr></thead><tbody><tr><td>ID</td><td>text</td></tr><tr><td>Output - Images</td><td>image (list)</td></tr><tr><td>Status</td><td>text</td></tr></tbody></table>

See below for an example from an actual Bubble app:

<figure><img src="https://1187100604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ueA3DZDjlYOZVlFZToc%2Fuploads%2F6VCvqVMoTqLvsPcX9TPz%2FScreenshot%202023-09-07%20at%2010.13.10.png?alt=media&#x26;token=24e05a34-2fd1-4cee-ba25-ae28d8065829" alt=""><figcaption></figcaption></figure>
