Content
Create field in openproject table
Added by Manuel Fernando Espinoza Rivera 6 months ago
I want to create one or two fields inside an openproject table.
I use the following command: rails generate migration AddFieldToUsers field:string (it's an example)
But I get the following error:
Rails Error: Unable to access log file. Please ensure that /opt/openproject/log/development.log exists and is writable (i.e. make it writable for user and group: chmod 0664 /opt/openproject/log/development.log). The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
/home/ubuntu/.rbenv/versions/3.2.3/lib/ruby/gems/3.2.0/gems/activerecord-7.1.3.2/lib/active_record/database_configurations.rb:229:in `resolve_symbol_connection': The `development ` database is not configured for the `development` environment. (ActiveRecord::AdapterNotSpecified)
Available database configurations are:
production