--- 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**. ![catalyst_tutorials_photostore_cs_first_explore](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_cs_first_explore.webp) 2. Navigate to the **Data Store** component present in the *Storage* section and click **Create a new Table**. ![catalyst_tutorials_photostore_datastore_create](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_create.webp) 3. Enter "**ImageShareDetails**" as the name of the table and click **Create**. ![catalyst_tutorials_photostore_name_create](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_name_create.webp) > **Note:** Ensure that you enter the name exactly as instructed because the application's code contains the same name. The table will be created. ![catalyst_tutorials_photostore_datastore_table_done](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_done.webp) 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. ![catalyst_tutorials_photostore_datastore_table_new_clm_highlit](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_new_clm_highlit.webp) 5. Enter the column's name as "`UserName`". Select **Var Char** as its datatype, enter **Max Length** as `100`, and click **Create**. ![catalyst_tutorials_photostore_datastore_table_clm_1_create](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_clm_1_create.webp) The column will be created. ![catalyst_tutorials_photostore_datastore_table_clm_created](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_clm_created.webp) 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**. ![catalyst_tutorials_photostore_datastore_table_new_clm_2_create](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_new_clm_2_create.webp) 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**. ![catalyst_tutorials_photostore_datastore_table_new_clm_3_create](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_new_clm_3_create.webp) 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**. ![catalyst_tutorials_photostore_datastore_table_new_clm_4_create](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_new_clm_4_create.webp) All the required columns have been created. ![catalyst_tutorials_photostore_datastore_table_all_clm_created](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_all_clm_created.webp) ### 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. ![catalyst_tutorials_photostore_datastore_table_user_role](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_user_role.webp) 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. ![catalyst_tutorials_photostore_datastore_table_user_role_all_permissions](https://catalyst-docs-development.zohostratus.in/images/tutorials/photo-store/catalyst_tutorials_photostore_datastore_table_user_role_all_permissions.webp) The Data Store component is now configured for the application.