Files
SatsFaucet/package.json
Michilis a1509f21fc Add schema-driven db:migrate for SQLite and Postgres
- Parse schema files to detect expected columns per table
- Add missing columns automatically when schema is updated
- Add payment_request to sponsors schema
- Add db:migrate script to root package.json

Made-with: Cursor
2026-03-16 00:13:06 +00:00

14 lines
422 B
JSON

{
"name": "lnfaucet",
"private": true,
"scripts": {
"build": "npm run build:backend && npm run build:frontend",
"build:backend": "cd backend && npm run build",
"build:frontend": "cd frontend && npm run build",
"start": "cd backend && npm start",
"dev:backend": "cd backend && npm run dev",
"dev:frontend": "cd frontend && npm run dev",
"db:migrate": "cd backend && npm run migrate"
}
}