๐Ÿ’ฝDesigning your database

Designing your database is a fundamental step for all Bubble apps, and as BL already has most of the design aspects done for you, this is the best place to start.

Furthermore your database design will likely guide the required UI of your app. For example, if you're making a project management tool which has teams, projects and tasks, then it's likely your dashboard will need a separate view for each of those three data types.

Database design is one of those things that some people find easy but most find hard.

Below is a video I made on database design. It's worth watching!

There should be a video displayed above. Not showing? Click here to watch it.

Asking ChatGPT to design your database

If you're stuck on your database design, ChatGPT does a half-decent job of designing a database structure for you.

Here is a prompt I compiled which gives fairly good results. It contains some information and examples to help ChatGPT with its task.

To use this prompt you also need to add a description of your app to the end of the prompt (see below).

Below this prompt you should add a description of your app.

Below is a basic example description. Try to be as detailed as possible in your own description. Describe all the different types of users, and all the different functionalities of your app.

Once you get your output from ChatGPT you'll need to set up the database and option sets in your Bubble app.

Don't stress too much about nailing your database structure from the outset, Bubble makes it quite easy to make changes later on!

Last updated