Skip to content

lf db

Database management commands.

lf db dev

Start local Supabase stack, run migrations, and seed the database.

FlagTypeRequiredDescription
--resetbooleannoRun db reset instead of start (drops and recreates)
--echobooleannoSet USE_ECHO_PROVIDER=true — no real API calls (local testing)

lf db seed

Run seed.sql against local database. Requires --force to confirm the database reset.

FlagTypeRequiredDescription
--filestringnoPath to seed SQL file
--forcebooleannoSkip confirmation warning and proceed with database reset

lf db reset

Reset all local settings and the local database. Requires typed confirmation or --force.

FlagTypeRequiredDescription
--forcebooleannoSkip interactive confirmation (required in CI / non-interactive shells)
--skip-dbbooleannoSkip database reset, only clear config files