You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once I boot the app, I can set an environment variable that prevents ForestAdmin from generating schema changes.
I'm currently using
export FOREST_DISABLE_AUTO_SCHEMA_APPLY=true
but this does not prevent ForestAdmin schema from generating.
Actual behavior
Once I boot the app, the ForestAdmin schema generator starts running, and if my schema is out of date it creates some unstaged changes in git. I can't figure out how to get it to stop generating changes, even when I close my app.
This is particularly annoying because it generates changes every time I switch branches, and then blocks me from switching again until I clear the changes that are generated.
e.g.
git checkout main
git checkout some-other-branch
Oh no! I ForestAdmin just generated some changes and I can't switch branches!
git reset --hard origin/main
git checkout some-other-branch (again)
git checkout some-other-other-branch
Oh no! I ForestAdmin just generated some changes and I can't switch branches!
git reset --hard origin/some-other-other-branch
git checkout some-other-other-branch (again)
Context
Package Version: gem 'forest_liana', '~> 7.8.0'
Rails Version: gem 'rails', '~> 7.0.4.1'
Database Dialect: gem 'pg', '~> 1.3.3'
Database Version: PostgreSQL 14.7
The text was updated successfully, but these errors were encountered:
Expected behavior
Once I boot the app, I can set an environment variable that prevents ForestAdmin from generating schema changes.
I'm currently using
export FOREST_DISABLE_AUTO_SCHEMA_APPLY=true
but this does not prevent ForestAdmin schema from generating.
Actual behavior
Once I boot the app, the ForestAdmin schema generator starts running, and if my schema is out of date it creates some unstaged changes in git. I can't figure out how to get it to stop generating changes, even when I close my app.
This is particularly annoying because it generates changes every time I switch branches, and then blocks me from switching again until I clear the changes that are generated.
e.g.
git checkout main
git checkout some-other-branch
git reset --hard origin/main
git checkout some-other-branch
(again)git checkout some-other-other-branch
git reset --hard origin/some-other-other-branch
git checkout some-other-other-branch
(again)Context
gem 'forest_liana', '~> 7.8.0'
gem 'rails', '~> 7.0.4.1'
gem 'pg', '~> 1.3.3'
PostgreSQL 14.7
The text was updated successfully, but these errors were encountered: