Skip to content

Backend — Database Schema for Public Reports #11

Description

@specfor

Design the table to store the actual civic issues reported by the public.

  • Create a reports table (id, category_id, subcategory_id, description, image_url, latitude, longitude, status, entity_id, created_at).
  • Note: entity_id should be nullable for now, as the Agentic System will populate this later. status should default to pending.
  • Write the up and down SQL migration files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions