After creating the Scriptcase log module, it is possible to change the table.

![](//img.zohostatic.com/zde/static/images/info.png)

When making this change, a new table will be created from scratch with no records. The records in the previous table must be migrated to your database.

## How to edit log schema to change your table

1 - Access the menu: **Modules****>** **Log> Create / Edit Log module.**

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=ndmxwd8355a42832f4049ada247bbf3717ce5)

2 - Click on the icon highlighted in the image below to edit the logging scheme.

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=ndmxw3937a96eec6a4493b66b3f50e904a978)

The log module edit screen will be displayed.

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=ndmxw2b5e1d2a1f94464fb17012968753a360)

3 - In the log schema edit screen, enter a new name for the table in the **Table** **field** and click save.

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=ndmxw8f88702985be4242a78894daf9bb9a3e)

4 - Then, the creation confirmation screen will be displayed.

Click the button, **Close to save schema**, to confirm the creation of the table and the change in the schema.

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=ndmxwa137d7c901704292b017d82ecbee3f8b)

With this change, the log module will start saving data in the **new\_tb\_sc\_log** table.

## Changing table in the Log Report application

In the **module> log** menu, it is possible to create a grid application based on the log table.

If the application is already created, before changing the module table, it will be necessary to change the SQL or create a new application, so that the report is displayed correctly.

To change the SQL, follow the steps below.

1 - Access the application settings and click on the SQL menu, as highlighted in the image.

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=ndmxw5274a14f505d4364ae7273f63f669cec)

2 - In the SQL settings just inform the name of the new table and click on generate source code.

![](//img.zohostatic.com/zde/static/images/info.png)

This change is possible only because both tables have the same field structure

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=ndmxw3276dccb7c6e423b9b1423a89ae45e6f)