feat(models): rename ModelPublicUser to ModelPublicUsers and update references
Some checks failed
CI / Test (1.22) (push) Failing after -22m18s
CI / Test (1.23) (push) Failing after -22m7s
CI / Lint (push) Failing after -22m32s
CI / Build (push) Failing after -22m38s

* Update user-related models to use plural naming for consistency
* Add relationships to ModelPublicUsers in related models
* Adjust database migration and schema to reflect changes
* Remove deprecated ModelPublicUser
This commit is contained in:
Hein
2026-02-20 17:56:02 +02:00
parent a3ff2dc497
commit cecbd2cef5
13 changed files with 107 additions and 89 deletions

2
sql/migrate.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
echo "Migration script placeholder. Implement your migration logic here."

View File

@@ -1,7 +1,7 @@
// WhatsHooked Database Schema
// This file defines the database schema for WhatsHooked Phase 2
Table user {
Table users {
id varchar(36) [primary key, note: 'UUID']
username varchar(255) [unique, not null]
email varchar(255) [unique, not null]