1. Auth: Implemented forced password reset for SuperAdmin and updated login logic. 2. Infra: Switched backend to internal Postgres and updated .drone.yml. 3. Storage: Added Test Connection endpoint and UI in Backoffice. 4. CI/CD: Updated Forgejo deploy pipeline to include Seeder and use Internal Registry.
12 lines
461 B
SQL
12 lines
461 B
SQL
-- Migration: Update Super Admin to 'lol' and force password reset
|
|
-- Description: Updates the superadmin identifier, email, name, and sets status to enforce password change.
|
|
|
|
UPDATE users
|
|
SET
|
|
identifier = 'lol',
|
|
email = 'lol@gohorsejobs.com',
|
|
full_name = 'Dr. Horse Expert',
|
|
name = 'Dr. Horse Expert',
|
|
status = 'force_change_password',
|
|
updated_at = CURRENT_TIMESTAMP
|
|
WHERE identifier = 'superadmin' OR email = 'admin@gohorsejobs.com';
|