# Add column module to production but not apply (new column is not display)

**URL:** <https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487>\
**Category:** Help me!\
**Created:** [December 18, 2020, 10:36am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487 "2020-12-18T10:36:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![chumanhhung235](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chumanhhung235/32/1118_2.png) [@chumanhhung235](https://community.forestadmin.com/u/chumanhhung235)\
**Post date:** [December 18, 2020, 10:36am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/1 "2020-12-18T10:36:39Z")

</div>

Dear Forest Admin Support,

I have issue when update module (add column to a table) on Production environment.  
I added new columns to a table below:  
db:  
 ![Screen Shot 2020-12-18 at 5.24.37 PM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/6/69a96f473eb6774c829312da10d4b606b3b90f25.png)  
i updated model file before push to Production

 ![Screen Shot 2020-12-18 at 5.29.13 PM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/7/73a52e91ffa4dba9dd03cf732a4a78798c02aedc.png)

but new columns are not display after i restart application on Production environment:

 ![Screen Shot 2020-12-18 at 5.32.45 PM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/4/48d24182c7352cb871364eeff333b1af373f4f3e.png)

Pls help me.

Thanks & Regards!  
Hung Chu

---

<div class="post-metadata">

**Author:** ![anon62739609](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@anon62739609](https://community.forestadmin.com/u/anon62739609)\
**Post date:** [December 18, 2020, 1:01pm UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/2 "2020-12-18T13:01:45Z")

</div>

Hi @chumanhhung235,

In production the `.forestadmin-schema.json` is not updated to avoid configuration to be broken in case of error.  
I think you just forgot to update / push the file into your production 😉

---

<div class="post-metadata">

**Author:** ![chumanhhung235](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chumanhhung235/32/1118_2.png) [@chumanhhung235](https://community.forestadmin.com/u/chumanhhung235)\
**Post date:** [December 21, 2020, 9:54am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/3 "2020-12-21T09:54:11Z")

</div>

> [@anon62739609](#):
>
> forestadmin-schema.json

@anon62739609: sorry, where is it?

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [December 21, 2020, 10:09am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/4 "2020-12-21T10:09:16Z")

</div>

Hello @chumanhhung235,

This file is an hidden one (initial dot).  
Provided you are using git, please try:  
`git add .forestadmin-schema.json`  
and then commit/push to get the file onto production.

---

<div class="post-metadata">

**Author:** ![chumanhhung235](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chumanhhung235/32/1118_2.png) [@chumanhhung235](https://community.forestadmin.com/u/chumanhhung235)\
**Post date:** [December 21, 2020, 10:17am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/5 "2020-12-21T10:17:36Z")

</div>

Hi @anon62739609

> [@anon62739609](#):
>
> I think you just forgot to update / push the file into your production 😉

how to update it? i don’t find file .forestadmin-schema.json?

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [December 21, 2020, 10:24am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/6 "2020-12-21T10:24:08Z")

</div>

Hi,

The `.forestadmin-schema.json` should be automatically generated (or updated) on you development environment each time the server starts.  
You can take the file there and send it to your production environment. Either via source control as recommended above or via a simple file transfer.

On Linux and Mac OS you can find the hidden files with `ls -a` in the terminal.

On Windows, see

- [https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-10-97fbc472-c603-9d90-91d0-1166d1d9f4b5](https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-10-97fbc472-c603-9d90-91d0-1166d1d9f4b5)
- [https://superuser.com/questions/277379/windows-command-line-command-to-list-hidden-folders](https://superuser.com/questions/277379/windows-command-line-command-to-list-hidden-folders)

---

<div class="post-metadata">

**Author:** ![chumanhhung235](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chumanhhung235/32/1118_2.png) [@chumanhhung235](https://community.forestadmin.com/u/chumanhhung235)\
**Post date:** [December 21, 2020, 10:34am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/7 "2020-12-21T10:34:49Z")

</div>

@anon79585656 i did it but i still issues as a topic’s subject " [Add column module to production but not apply (new column is not display)](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487)"

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [December 21, 2020, 11:13am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/8 "2020-12-21T11:13:10Z")

</div>

You may need to manually make this new field visible. Activate edit mode with the paintbrush icon, and then use the left-most icon to show the field list.  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/a/a275b81cbd8ce4a6e107b59209869c594eb47815.png)

---

<div class="post-metadata">

**Author:** ![chumanhhung235](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chumanhhung235/32/1118_2.png) [@chumanhhung235](https://community.forestadmin.com/u/chumanhhung235)\
**Post date:** [December 21, 2020, 11:17am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/9 "2020-12-21T11:17:15Z")

</div>

Hi @anon79585656

i do it but not disply sp\_parent & sp\_code column:  
 ![Screen Shot 2020-12-21 at 6.15.35 PM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/7/75403a7d557611b92b69ee8996a43a7fe07fc242.png)

Pls help me review it.

Thanks!  
Hung Chu

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [December 21, 2020, 1:51pm UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/10 "2020-12-21T13:51:23Z")

</div>

Sorry to hear that @chumanhhung235,

Can you please tell me your project name (ideally the `forest-project-id` and `forest-environment-id` found in the network headers) so I can check the data received on our end?

---

<div class="post-metadata">

**Author:** ![chumanhhung235](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chumanhhung235/32/1118_2.png) [@chumanhhung235](https://community.forestadmin.com/u/chumanhhung235)\
**Post date:** [December 21, 2020, 3:18pm UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/11 "2020-12-21T15:18:49Z")

</div>

Hi @anon79585656  
my project here: [https://app.forestadmin.com/osscar/Production/Operations/data/sp/index](https://app.forestadmin.com/osscar/Production/Operations/data/sp/index)  
@anon62739609 @anon79585656: pls help me review it 🙂

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [December 22, 2020, 9:04am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/12 "2020-12-22T09:04:23Z")

</div>

Hello @chumanhhung235,

We may have skipped a step. As Vince wrote earlier, the `.forestadmin-schema.json` file is not update in production. If you changed your models directly on your production environment this may explain the issue.

You need to update the models in development, start the project to refresh the schema file, and then send this updated schema to your production for it to update on the next restart.

---

<div class="post-metadata">

**Author:** ![chumanhhung235](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chumanhhung235/32/1118_2.png) [@chumanhhung235](https://community.forestadmin.com/u/chumanhhung235)\
**Post date:** [December 22, 2020, 9:26am UTC](https://community.forestadmin.com/t/add-column-module-to-production-but-not-apply-new-column-is-not-display/1487/13 "2020-12-22T09:26:36Z")

</div>

😮, i did it & issue is resolved. Thank you so much @anon79585656.
