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
> With this option, the UI can be disabled for all environments or be enabled in specific ones.
93
93
94
-
## UI options
95
-
96
-
By default, the UI is enabled in the development environment. If you prefer to enable the UI for another environment, you can do so in two ways:
97
-
98
-
### 1. Using Environment Variable
99
-
100
-
Set the environment variable `ACTUAL_DB_SCHEMA_UI_ENABLED` to `true`:
101
-
102
-
```sh
103
-
export ACTUAL_DB_SCHEMA_UI_ENABLED=true
104
-
```
105
-
106
-
### 2. Using Initializer
107
-
Add the following line to your initializer file (`config/initializers/actual_db_schema.rb`):
108
-
109
-
```ruby
110
-
ActualDbSchema.config[:ui_enabled] =true
111
-
```
112
-
113
94
## Disabling Automatic Rollback
114
95
115
96
By default, the automatic rollback of migrations is enabled. If you prefer to perform manual rollbacks, you can disable the automatic rollback in two ways:
0 commit comments