infoalloggi-monorepo/apps/db/migrations/3_seed_user.up.sql
Marco Pedone 9218d2f7ac Add user seeding SQL script and initial Docker Compose configuration
- Created a new SQL migration script to seed a default user into the USERS table.
- Added a comprehensive Docker Compose configuration for the application, including services for the database, MinIO, KeyDB, backend, and web components.
- Configured health checks and environment variables for each service to ensure proper startup and connectivity.
2025-10-29 11:06:53 +01:00

24 lines
No EOL
473 B
SQL

INSERT INTO
PUBLIC.USERS (
username,
email,
"isAdmin",
PASSWORD,
nome,
cognome,
"isVerified",
salt,
telefono
)
VALUES (
'Marco Pedone'::TEXT,
'm.pedone98@gmail.com'::TEXT,
TRUE::BOOLEAN,
'changeme'::TEXT,
'Marco'::TEXT,
'Pedone'::TEXT,
TRUE::BOOLEAN,
'a'::TEXT,
'+393407246729'::TEXT
)
ON CONFLICT (email) DO NOTHING;