Skip to content

[WIP] Setup Authentication Database Schema for User Management#2

Draft
Merango wants to merge 5 commits into
Santix1234:0feb182d-8991-4549-bd0a-0af8a705a5e8from
Merango:auth-db-schema-setup-1747923829
Draft

[WIP] Setup Authentication Database Schema for User Management#2
Merango wants to merge 5 commits into
Santix1234:0feb182d-8991-4549-bd0a-0af8a705a5e8from
Merango:auth-db-schema-setup-1747923829

Conversation

@Merango

@Merango Merango commented May 22, 2025

Copy link
Copy Markdown

Setup Authentication Database Schema for User Management

Description

Task

Set Up Authentication Database Schema

Acceptance Criteria

  • User model includes email, hashed password, and username fields
  • Password is hashed before storing in the database
  • User model enforces unique email constraint
  • Database schema includes necessary indexes for efficient querying

Summary of Work

This pull request introduces the initial database schema for user authentication and management. The goal is to create a robust and secure foundation for user-related data storage that will support our authentication and user profile features.

Changes Made

  • Create database schema for user authentication
  • Define user model with essential fields
  • Implement secure storage considerations
  • Prepare for JWT-based authentication support

Tests

  • Verify schema includes required user fields
  • Ensure password hashing compatibility
  • Check schema constraints and validations
  • Validate data type and length restrictions

Signatures

Staking Key

Gkn3eRUR8rbiHgjXYmXWKgBQnGQWEhJk1n9rvecfFxTm: 2WxJBD4X5AkiiFFsAcw642ggXVACNbCHVXBmSGTN3DN5jE4bJAwcudtSMxK31KyBPtkpEyd8fHBeMnL3zHYCnMhrNJnQXCBdncErehSYkxqZxhfbU6dGzw41kEJPyA78nqmHa6Gzudw4uxWTMVzEB5rqdFBAE5wU9FmrdnMGZVa113hiySdj6wUT7vAPm5egFqb17QqnWjAkiGTvjBT3GX7SD6JEookUB58qxJ37tamfBuh2H6yQULjhMchQb9kXn4uvQrn3dAnf1GaU2qVjfp9KFKdsEGcSWqAYcfB5nKUzhdz4oTZdgr6Yk7F1AW4tNJzF2zbjbXWM8sajPitAAVKUt8ysqAqB3XBQkxP3HKLtvS3TNX9PVRa3UKpSg6aJ1WA9J1Hr3Q2edkGfgDPtxrAFGCqTJawN

Public Key

Gq6qy4e4ja8P8iQiawFZvBSYYd62G4X2swAb5rr2axvw: 2bi8PiPvS3ygPfMevVL1zxKDKuaexYXXrL8ZcDDxHDm7bVkKiECrpuu3FPZFLPA1ozzTRjNRBcUbFrQ24Jgn9cnfMDeZkaWgtQrPP4C9khygDWo6GKANHpUaP5NfMuTXH5Bz3UtcZSqRgL2yH3ynmZX93fVDuxoWfHW9qhJetmEDbVJq5KBEuXZzrSZ7pvKAehKe7XwQhRjd8VEm31jTKQeEc6YmfXtAVvc757SFchXXRJoALJAnpZrfNrE2ZzTCFNuLQDPhLDXu9EBtmf7sFELjfNrkGtyoSWJcL5HFx5rYkZNrtX6Bg2woUXdjC41txu9HCQpeJj6zFajQtS56ytiR72kWJeDGnbgRRQPevsJVGZoaLFawsBMTUsRawSQyVg3gmtVwFXTPMms6EaXzbWjZC72JBngL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant