chatserver/migrations/002_create_admin_flag.sql
Andrea b98a890738 ```
Add user authentication with password hashing

- Integrated Argon2 for password hashing and verification
- Added bcrypt and thiserror dependencies
- Updated database schema with admin and ban flags
- Implemented user account creation and login logic
- Enhanced error handling for database operations
```
2025-04-21 17:46:22 +02:00

2 lines
61 B
SQL

ALTER TABLE users
ADD COLUMN is_admin BOOLEAN DEFAULT FALSE;