[{"data":1,"prerenderedAt":118},["ShallowReactive",2],{"term-s\u002Fseed":3,"related-s\u002Fseed":107},{"id":4,"title":5,"acronym":6,"body":7,"category":89,"description":90,"difficulty":91,"extension":92,"letter":93,"meta":94,"navigation":95,"path":96,"related":97,"seo":101,"sitemap":102,"stem":105,"subcategory":6,"__hash__":106},"terms\u002Fterms\u002Fs\u002Fseed.md","Seed",null,{"type":8,"value":9,"toc":83},"minimark",[10,15,19,23,26,30,72,76,79],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"Seeding a database means filling it with initial or test data automatically. Instead of manually clicking around to add sample users, products, and orders, you run a seed script and the database is pre-populated. Essential for development and testing.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Database seeding is the process of populating a database with initial data. Seeds are typically scripts that INSERT predefined rows needed for the application to function (admin users, config values) or for development\u002Ftesting (fake data using factories\u002Fgenerators like Faker). Most ORM frameworks include a seed runner.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-sql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","-- Seed file example\nINSERT INTO categories (name) VALUES\n  ('Electronics'),\n  ('Clothing'),\n  ('Books');\n","sql","",[38,39,40,48,54,60,66],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,47],{},"-- Seed file example\n",[41,49,51],{"class":43,"line":50},2,[41,52,53],{},"INSERT INTO categories (name) VALUES\n",[41,55,57],{"class":43,"line":56},3,[41,58,59],{},"  ('Electronics'),\n",[41,61,63],{"class":43,"line":62},4,[41,64,65],{},"  ('Clothing'),\n",[41,67,69],{"class":43,"line":68},5,[41,70,71],{},"  ('Books');\n",[11,73,75],{"id":74},"when-youll-hear-this","When You'll Hear This",[16,77,78],{},"\"Run the seed script to populate the local database with test data.\" \u002F \"The seed creates an admin user so you can log in immediately.\"",[80,81,82],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":50,"depth":50,"links":84},[85,86,87,88],{"id":13,"depth":50,"text":14},{"id":21,"depth":50,"text":22},{"id":28,"depth":50,"text":29},{"id":74,"depth":50,"text":75},"database","Seeding a database means filling it with initial or test data automatically.","beginner","md","s",{},true,"\u002Fterms\u002Fs\u002Fseed",[98,99,100],"Migration","Database","CRUD",{"title":5,"description":90},{"changefreq":103,"priority":104},"weekly",0.7,"terms\u002Fs\u002Fseed","5XDX69yHSjr_tYdxzGRlqkjEmIfi82tZxYW6taurozg",[108,112,115],{"title":100,"path":109,"acronym":110,"category":89,"difficulty":91,"description":111},"\u002Fterms\u002Fc\u002Fcrud","Create, Read, Update, Delete","CRUD is the four things you can do to data: Create it, Read it, Update it, Delete it. Literally every app ever made is just CRUD in a trenchcoat.",{"title":99,"path":113,"acronym":6,"category":89,"difficulty":91,"description":114},"\u002Fterms\u002Fd\u002Fdatabase","A database is like a super-organized filing cabinet for your app's data.",{"title":98,"path":116,"acronym":6,"category":89,"difficulty":91,"description":117},"\u002Fterms\u002Fm\u002Fmigration","A migration is a versioned script that modifies your database schema — adding a column, creating a table, changing a type.",1776518311611]