Skip to content

Standardize Database Field and Table Naming Conventions #873

Open
@ThomasAFink

Description

@ThomasAFink

Description:
The current database schema uses a mix of naming conventions, including camelCase and snake_case, and contains both English and German terms. In addition, there are inconsistent naming practices for identical concepts. For example:

"availability" and "Öffnungszeit" refer to the same concept.
"Scope" and "Standort" are also used interchangeably.

Plan:
Perform a series of database migrations to standardize the following:
Uniform field and table naming conventions (e.g., choose between camelCase or snake_case).
Standardize language usage across the schema (either fully in English or German).
Align naming for concepts that are currently inconsistent (e.g., "availability" vs. "Öffnungszeit", "Scope" vs. "Standort").
After completing the database migrations, update the queries in the ZMSDB module to reflect the newly standardized naming conventions.

Expected Outcome:
A consistent and uniform database schema, improving maintainability and reducing ambiguity.
Simplified query structure in the ZMSDB module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code complexity and formattingReduce code complexity or fix formattinginvalidThis doesn't seem rightphpPull requests that update Php codesqlEverything related to queries and database

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions