FreedomClassifieds Local listings with clean design, trusted sellers, and fast moderation.

Database Schema Overview

Database Schema Overview

Core entities

Users

Fields reserved for seller and admin operations include:

Categories

Hierarchical category tree with parent_id, name, slug, and active/sort metadata.

Locations

Hierarchical region/city structure with country_code, region_name, city_name, and slug.

Listings

Primary listing record includes:

Listing images

Multiple image uploads are represented by listing_images with ordering and alt text support.

Abuse reports

Captures listing abuse submissions, reporter identity, reason, detail, and review status.

Ad inventory

This keeps placement inventory configurable rather than hardcoded.

Documentation and feature controls

Automation

Stores raw machine-ingested draft data pending moderator review.

Listing lifecycle states

Recommended canonical states:

Optional expansion tables

The next schema pass should add: