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

fix:Migrate Testimonials to UUID Primary Keys #623

Open
5 tasks
nyainda opened this issue Feb 27, 2025 · 0 comments
Open
5 tasks

fix:Migrate Testimonials to UUID Primary Keys #623

nyainda opened this issue Feb 27, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request mentor approved

Comments

@nyainda
Copy link

nyainda commented Feb 27, 2025

Description

Migrate the testimonials table from incremental IDs to UUID primary keys for improved security and uniqueness.

Acceptance Criteria

  • Testimonials table uses UUIDs as primary keys
  • Testimonial model supports UUIDs with HasUuids trait
  • Migration updates the id column to UUID type
  • Existing CRUD operations work with UUIDs
  • Tests verify UUID generation and retrieval

Purpose

Enhances security by replacing predictable incremental IDs with random UUIDs, reducing the risk of enumeration attacks.

Requirements

  • Laravel framework with MySQL
  • Migration to alter table schema
  • Update Testimonial model

Expected Outcome

Testimonials are identified by UUIDs (e.g., 550e8400-e29b-41d4-a716-446655440000) instead of integers (e.g., 1, 2).

Additional Context

  • Part of broader testimonial system improvements
  • No screenshots specific to this change yet
@bhimbho bhimbho assigned bhimbho and nyainda and unassigned bhimbho Feb 27, 2025
@bhimbho bhimbho added enhancement New feature or request mentor approved labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mentor approved
Projects
None yet
Development

No branches or pull requests

2 participants