Execute inserts and DDL from a seed script.
Section: Move data in and out
Load data from an SQL file
bash
bash
sqlite3 app.db < seed.sqlExplanation
A shell-friendly way to initialize or refresh a local database.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Move data in and out
Import CSV with mode and separator
Set shell parsing options before import.
Create a compact backup with VACUUM INTO
Write a fresh copy of the database to a new file.
Run an integrity check
Verify the database structure and content consistency.