Skip to main content

Cursor Composer: Generate DB Structure

Lesson 02/17 14:22
Autoplay

Lesson Overview

- Installing Laravel
- Prompting Cursor to create DB tables: room_types and rooms - models, migrations, factories and seeders
- Reviewing/accepting the generated files
- Factories by AI with realistic data
- Cursor has deleted the old seeder?
- Explaining Cursor pricing and what LLMs are used
- Second prompt: change DB column type and more "logical" seeder
- Problem: migration timestamps are with old date prefix

Comments & Discussion

M
Mario ✓ Link copied!

Love this! Thank you so much for all your work and teaching! Would there be any posibility of you posting final code for each lesson and the Prompts! That would be very helpful! :)

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.