# Database Schema Creator

> Plugin page: <https://bubble.io/plugin/database-schema-creator-1726001441613x285758226079940600>

## Description

Database Schema Creator makes it effortless to create a comprehensive schema for your database. A well-structured database schema guides the development, maintenance, and optimization of your database, making your work as a developer more manageable and efficient.

Understanding an existing application can be challenging, and documenting how everything works is often necessary. This is where database schemas come in, providing invaluable assistance in the development process.

## Features

* **Single-Element Schema Generation**: Generate your database schema with just one element.
* **SVG Preview Export**: Export your schema as a preview in SVG format.
* **Integration with Free Services**: Easily export your schema to [DB Designer](https://www.dbdesigner.net/) or [dbdiagram.io](https://www.dbdiagram.io/), where you can continue working on it and share it with colleagues.
* **Effortless Visualization**: View your database schema in just two clicks, no matter how complex the relationships in your database are.

## How to Use

{% embed url="<https://www.loom.com/embed/9111dad8bb434c6c9798f4c8e2be256f?sid=6caa6f6a-f4b0-4cb5-acf9-f114484fae3f>" %}

### Step-by-step guide

1. **Find and Install the Plugin**: Search for the plugin in the plugin list and install it in your application.

<figure><img src="/files/tUPns5Ykt5thoS5RwSUB" alt=""><figcaption></figcaption></figure>

2. **Add the Database Schema Generator Element**: Find the "Database Schema Generator" element in the sidebar and drag it onto any page of your application.

<figure><img src="/files/uMZtXjH1M3psHPjcK7gw" alt=""><figcaption></figcaption></figure>

3. **Configure the Element**:

   * **Schema Type**: Choose the service for which the schema will be generated. Both available services are free and perfect for storing, working on, and exporting schemas.
   * **Remove Deleted Fields**: When checked, removes deleted fields from the schema.
   * **Include Service Fields**: When checked, includes service fields such as Slug or Created By in the schema.

   <figure><img src="/files/42TxANVgOL0AIl3sXfz4" alt=""><figcaption></figcaption></figure>
4. **Preview the Page with the Element**: Open the page preview with the element. You'll see the plugin element with the following buttons: Copy text, Generate schema, and Generate preview.

   <figure><img src="/files/I8eXsrWMZzODTPjGWsRS" alt=""><figcaption></figcaption></figure>
5. **Export and Share**: After copying the textual schema, paste it into the service you selected in step three. Now you can export it and share it with your colleagues.

   <figure><img src="/files/86A16czxkx6EVcvEwMmd" alt=""><figcaption></figcaption></figure>

Enjoy simplifying your database design operations with our Database Schema Creator plugin! \
If you have any questions, feel free to reach out at [<mark style="color:blue;">support@thesimplelabs.com</mark>](mailto:support@thesimplelabs.com)

## Found a bug?&#x20;

If you suspect something isn't working quite right, please don't hesitate to send us a bug report. [Here's](/welcome-to-thesimplelabs-docs.md#how-to-report-a-bug) an instruction on how to file a bug report. \
\
Your input helps us quickly address issues and strive for continuous improvement. \
Thank you for your cooperation!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thesimplelabs.com/plugins/database-schema-creator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
