food-ordering-system-database

Document PostgreSQL table structures, relationships, indexes, and triggers.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/neverliken2/SangKorn --skill food-ordering-system-database
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: food-ordering-system-database
Source: https://github.com/neverliken2/SangKorn/tree/main/skill
Command: npx skills add https://github.com/neverliken2/SangKorn --skill food-ordering-system-database

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers and admins working on the SangKorn food ordering system often lack a centralized, accurate reference for the database schema, leading to errors when building features, writing queries, or debugging data issues. This Skill provides a complete, structured overview of the entire database structure to eliminate guesswork.

Core Features & Use Cases

  • Full Table Schema Documentation: Detailed field names, data types, and descriptions for all 7 core tables including shop_settings, admins, categories, menu_items, orders, and order_items.
  • Relationship & Performance Reference: Clear visual relation diagrams, listed indexes, and documented triggers to help write efficient queries and understand data flow.
  • Use Case: When building a custom admin feature to generate daily sales reports, use this Skill to quickly identify the correct tables, fields, and relationships needed to construct accurate aggregate queries.

Quick Start

Use the food-ordering-system-database skill to look up the field definitions and relationships for the orders and order_items tables when building a custom order reporting feature.

Frequently Asked Questions about food-ordering-system-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document a PostgreSQL database schema for a food ordering system?

To document a PostgreSQL database schema for a food ordering system, you need a structured reference covering table structures, field specifications, relationships, indexes, triggers, and row level security policies. This provides centralized schema documentation to eliminate guesswork for backend developers and database administrators.

What tables are included in a food ordering system database schema?

A food ordering system database schema typically includes core tables such as shop_settings, admins, categories, menu_items, orders, and order_items. These tables store field definitions, data types, and relationships necessary for managing menu configurations and customer orders.

How do I identify table relationships for writing PostgreSQL queries in a food ordering backend?

To identify table relationships for writing PostgreSQL queries in a food ordering backend, refer to visual relation diagrams and documented indexes. These references clarify data flow between menu_items, orders, and order_items, helping you construct efficient aggregate queries for features like daily sales reports.

Does this database schema documentation cover row level security policies for Supabase?

Yes, this database schema documentation covers row level security policies for Supabase. It provides detailed reference material for the PostgreSQL database, including all table structures, field specifications, triggers, and row level security policies needed for backend development and database maintenance.

Can I use this schema reference to debug data issues in a PostgreSQL food ordering application?

Yes, you can use this schema reference to debug data issues in a PostgreSQL food ordering application. It provides accurate schema information including field specifications and triggers, satisfying the requirement for debugging data issues, query optimization, and supporting feature development.