• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.0
    • 1.6
    • Database
    • None

      We currently have a mix of upper-case and lower-case table names in Crowd. For example, ApplicationDirectoryPermission.hbm.xml contains no backticks in the table name:

          <class name="com.atlassian.crowd.model.permission.ApplicationDirectoryPermission" table="APPLICATIONDIRECTORYPERMISSION">
      

      while Application.hbm.xml does:

          <class name="com.atlassian.crowd.model.application.Application" table="`APPLICATION`">
      

      We should default on one convention as case-sensitive databases like Postgres will require you to wrap all queries that reference the tables or columns in quotes or the query won't be recognized. For people that might be interested in querying the database, or for times when we need to pass some queries to users to run, it would be nice not to have to worry about this.

        1. mysql_startup.txt
          14 kB
        2. mysql-crowd2.png
          mysql-crowd2.png
          32 kB

            [CWD-1411] Make Crowd database schema lowercase

            No work has yet been logged on this issue.

              doflynn David O'Flynn [Atlassian]
              davidyu David Yu
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: