Start a new database
“Set up a database for a [blog / online store / booking app] with tables for [users, posts, comments] and connect them with the right relationships.”
Free AI prompt · The Code Book
A ready-to-use prompt from the chapter Database Design. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.
“Explain the database you just created in simple terms. What tables are there, what does each one store, and how are they connected?”
“Set up a database for a [blog / online store / booking app] with tables for [users, posts, comments] and connect them with the right relationships.”
“Add a new table called [Reviews] to my database. Each review should store the text, a star rating (1-5), which user wrote it, and which product it's for.”
“Connect my [Posts] table to my [Users] table so that each post belongs to one user, and one user can have many posts.”
“I'm building a [recipe sharing app]. Design the complete database with all the tables I'll need, explain what each table stores, and set up the connections between them.”
“Design a database schema for my [type of app]. I need to store [data types]. Show me the tables, columns, and relationships between them.”
“Create Supabase tables for my project: [describe your app]. Include proper data types, foreign keys, and row-level security so users can only access their own data.”