Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Create field in openproject table

Create field in openproject table

Added by Manuel Fernando Espinoza Rivera 11 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


Loading...