---
title: "Create a Table"
url: https://docs.catalyst.zoho.com/en/tutorials/photo-store-app/nodejs/create-table/
description: "Build a React gallery app to upload images to a bucket in Stratus, and shre these images with other registered users. Host the app on AppSail and sync with GitHub and deploy the app usiong Pipelines."
last_updated: 2026-08-17T12:16:04Z
service: All Services
type: tutorial
related_links:
- name: "Catalyst DataStore"
url: /en/cloud-scale/help/data-store/introduction/
- name: "Scopes and Permissions"
url: /en/cloud-scale/help/data-store/scopes-and-permissions/
---
# Create a Table
Let's create a table in the [Data Store](https://docs.catalyst.zoho.com/en/cloud-scale/help/data-store/introduction/). This table is used to create the following columns to store the required details:
| Column Name |
Data Type |
Purpose |
| `UserName` |
`Var Char` |
To store the details of the user accessing the application. |
| `BucketPath` |
`Var Char` |
To store the path of the required image (object). |
| `UserZuid` |
`Var Char` |
To store the unique user ID of the end user signed up to your application. |
| `IsUpdate` |
`Boolean` |
To store shared image access type as a Boolean: True for Edit, False for View. |
| `SharedBy` |
`Var Char` |
To store details of the registered user that had shared the image. |
To create a table:
1. Navigate to the *Catalyst Cloud Scale* service section in the console and click **Start Exploring**.

2. Navigate to the **Data Store** component present in the *Storage* section and click **Create a new Table**.

3. Enter "**ImageShareDetails**" as the name of the table and click **Create**.

> **Note:** Ensure that you enter the name exactly as instructed because the application's code contains the same name.
The table will be created.

Now, let’s create the four required columns.
> **Info:** [Learn more about the various supported data types and properties of a column](https://docs.catalyst.zoho.com/en/cloud-scale/help/data-store/introduction/).
4. Click **New Column** in the *Schema View* section.

5. Enter the column's name as "`UserName`". Select **Var Char** as its datatype, enter **Max Length** as `100`, and click **Create**.

The column will be created.

6. Click the **New Column** button again to create the second column. Name the column as "`BucketPath`". Select **Var Char** as the data type and enter `255` as the **Max Length**. Click **Create**.

7. Click the **New Column** button again to create the third column. Name the column "`UserZuid`". Select **Var Char** as the data type and enter `50` as the **Max Length**. Click **Create**.

8. Click the **New Column** button again to create the fourth column. Name the column "`SharedBy`". Select **Var Char** as the data type and enter `100` as the **Max Length**. Click **Create**.

All the required columns have been created.

### Configure Scopes and Permissions
To allow your end users to provide the required data to populate the created columns, you need to enable the required permissions for the *App User* profile.
To enable the required permissions:
1. Click the **Scopes & Permissions** tab.

2. Select the **Update**, **Insert**, and **Delete** permissions for the *App User* by clicking the respective check boxes. Ensure that you do not change any other permission setting.

The Data Store component is now configured for the application.