managarten/apps-archived/uload/docs/ADD_MISSING_FIELDS.md
Till-JS 61d181fbc2 chore: archive inactive projects to apps-archived/
Move inactive projects out of active workspace:
- bauntown (community website)
- maerchenzauber (AI story generation)
- memoro (voice memo app)
- news (news aggregation)
- nutriphi (nutrition tracking)
- reader (reading app)
- uload (URL shortener)
- wisekeep (AI wisdom extraction)

Update CLAUDE.md documentation:
- Add presi to active projects
- Document archived projects section
- Update workspace configuration

Archived apps can be re-activated by moving back to apps/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 07:03:59 +01:00

1.5 KiB

🚨 WICHTIG: Fehlende Felder in PocketBase hinzufügen

Die links Collection hat noch nicht die neuen Felder. Diese müssen manuell im PocketBase Admin UI hinzugefügt werden.

Schritt-für-Schritt Anleitung:

1. PocketBase Admin öffnen

Gehe zu: https://pb.ulo.ad/_/

  • Navigiere zu: Collections → links
  • Klicke auf "Edit collection"

3. Diese Felder hinzufügen:

a) System-Timestamps (WICHTIGSTE!)

  • created (Type: autodate)
    • onCreate: aktiviert
    • onUpdate: deaktiviert
  • updated (Type: autodate)
    • onCreate: aktiviert
    • onUpdate: aktiviert

b) Neue Funktionsfelder

  • use_username (Type: bool)

    • Default value: false
    • Required: No
  • click_count (Type: number)

    • Default value: 0
    • Only integers:
    • Min: 0
    • Required: No
  • last_clicked_at (Type: date)

    • Required: No

c) Marketing-Felder (optional)

  • utm_source (Type: text)

    • Max length: 255
    • Required: No
  • utm_medium (Type: text)

    • Max length: 255
    • Required: No
  • utm_campaign (Type: text)

    • Max length: 255
    • Required: No

4. Speichern

Klicke auf "Save collection"

Frontend-Anpassungen die bereits gemacht wurden:

TypeScript Interface aktualisiert (src/lib/pocketbase.ts) Folder-Referenzen entfernt Server-Code angepasst

Was noch geprüft werden muss:

Nach dem Hinzufügen der Felder in PocketBase:

  1. Teste das Erstellen eines neuen Links
  2. Prüfe ob created/updated gesetzt werden
  3. Teste die use_username Checkbox Funktion