Setting up a database
By default, all projects in FL0 have a database. There's nothing to install or provision. Simply create a database table via FL0's UI and then configure the table's fields and data types.
This tutorial uses a to-do list management application as an example how to create and configure a database table.
Prerequisites
- You have a FL0 account.
- You're familiar with fundamental database concepts, such as columns and rows.
Step 1: Create a project
- Log in to FL0.
- Click Create a new project.
- In the Project Name field, enter Todo.
- Select a hosting region.
- Click Save.


Step 2: Create a database table
- In the Explorer pane, click Create new.
- Select Table.
- Type Tasks.
- Tap the Return key.


Step 3: Add fields to the table
- Switch to the Configuration tab.
- Create a row to store the name of the task.
- In the Name field, enter Name.
- From the Data type dropdown, select String.
- Create a row to store the status of the task.
- In the Name field, enter IsComplete.
- From the Data type dropdown, select Boolean.
- Enable the Nullable option.
- Enable the Default value option.
- Click Save.


Warning: You can't edit fields after creating them. To edit an existing field, first delete it and recreate it.
Updated 8 months ago