Database Schema Designer with Migrations — Free Cursor…
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorPromptsDatabase Schema Designer with Migrations
    Back to Prompts
    Database

    Database Schema Designer with Migrations

    Neura Editorial April 24, 2026
    0 copies 0 likes

    Design database tables with proper types, constraints, indexes, and migration files for PostgreSQL/Supabase.

    Prompt
    Design a database schema for [feature_description]. Requirements:
    - Use PostgreSQL-compatible types (uuid, timestamptz, text, integer, jsonb)
    - Primary key should be uuid with gen_random_uuid() default
    - Include created_at and updated_at timestamptz columns with defaults
    - Add proper foreign key constraints with ON DELETE behavior
    - Create indexes for columns used in WHERE clauses and JOINs
    - Add CHECK constraints for enum-like values
    - Include Row Level Security (RLS) policies if using Supabase
    - Write the migration as a .sql file
    - Add a rollback migration (DOWN) as comments
    - Include seed data examples as INSERT statements
    - Consider soft delete (deleted_at) vs hard delete based on requirements
    - Add comments on non-obvious columns

    How to Use

    Describe your feature and Cursor will design the full schema. Provide existing table names to create proper foreign key relationships.

    Comments

    More Prompts

    View all

    Agent Library

    Agent Library is a centralized collection of reusable AI agent skills, workflows, prompts, and specialized knowledge modules. Built for Claude Code, Codex, Cursor, and other AI coding agents with an efficient on-demand loading architecture.

    F
    fkfkg
    1

    Skill Lab

    An open-source collection of production-ready AI skills, prompts, templates, and workflows for Claude, ChatGPT, Gemini, Cursor, and other AI tools.

    O
    omkar19patill-hub
    1
    ai

    Llm Skills

    A collection of Skills (system prompts) for autonomous AI Agents and LLMs (Google Antigravity, Claude Code, GitHub Copilot, Codex, Cursor, AutoGPT, ChatGPT, Gemini).

    D
    dasgltd
    2
    ai-tools

    Xuwei Tools

    许惟的 AI 工具合集 · A growing collection of practical AI tools & skills. First up: diagram-generator (one sentence → clean diagrams).

    M
    Mindse-Tt
    1
    ai-prompts

    PromptHub

    A curated collection of high-quality AI prompts for ChatGPT, Claude, Gemini, Cursor, and other AI assistants

    P
    PlateChieftain
    1
    agent

    Ai Agent Automations

    A curated collection of ready-to-run automation prompts for real-world workflows.

    C
    ChmaraX
    55

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Process Multiple Media Files in Telegram with Gemini AI & PostgreSQL Databasen8n · $24.99 · Related topic
    • Query PostgreSQL Database with Natural Language using GPT-4-minin8n · $9.99 · Related topic
    • Natural Language Database Queries with AI-Powered PostgreSQL Integrationn8n · $19.99 · Related topic
    • Automate PostgreSQL Data Extraction from Files with Easen8n · $14.64 · Related topic
    Browse all workflows