Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure database tables have consistent naming convention #108

Open
firepenguindisopanda opened this issue Sep 22, 2024 · 0 comments
Open

Comments

@firepenguindisopanda
Copy link

As a database developer
I need to ensure consistent naming conventions for tables/models in the PostgreSQL database using Sequelize as the ORM
So that the database structure is clear, maintainable, and adheres to best practices

Details and Assumptions

  • Naming conventions should follow a clear pattern.
  • Models should be named using PascalCase to align with Sequelize's conventions.
  • Existing tables/models will be reviewed and updated to conform to the naming standards.
  • Migration scripts should be created to rename any non-compliant tables.

Acceptance Criteria

Given a model name that does not follow the PascalCase convention
When the model is renamed to follow PascalCase
Then the model name should adhere to PascalCase format

Given an existing non-compliant database schema
When migration scripts are applied
Then all tables should conform to the established naming conventions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant