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
I try to run application then but I get an error during bundle exec rake db:migrate
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "configuration_settings" does not exist
LINE 8: WHERE a.attrelid = '"configuration_settings"'...
^
Without my code alterations the migration is successful.
I'm not sure where should I put this configuration code.
If the language configuration is indeed stored in a table,
maybe I could alter it using db/seeds.rb file? This would be easier
for me as I expect different deployments of the application with different
language preferences and it would be nice not to have to build a separate
docker image for each of them, just override the seeds file before migration.
The text was updated successfully, but these errors were encountered:
I thought that maybe analysing/altering the content of "configuration_settings" table might be helpful, but it's empty for an application with default labels (en/de).
Hi, I'm trying to configure iQvoc to use other than predefined languages.
I tried to alter the code. I put:
at the end of
config/initializers/iqvoc.rb
file.I try to run application then but I get an error during
bundle exec rake db:migrate
Without my code alterations the migration is successful.
I'm not sure where should I put this configuration code.
If the language configuration is indeed stored in a table,
maybe I could alter it using
db/seeds.rb
file? This would be easierfor me as I expect different deployments of the application with different
language preferences and it would be nice not to have to build a separate
docker image for each of them, just override the
seeds
file before migration.The text was updated successfully, but these errors were encountered: