Logo
Explore Help
Sign In
radziel/spotlightcam
1
0
Fork 0
You've already forked spotlightcam
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
95eebc3e63154c4b95d7716fc6912e1b70bd9285
spotlightcam/backend/prisma/migrations/20251113194943_add_location_fields/migration.sql

4 lines
109 B
MySQL
Raw Normal View History

feat: add country and city fields to user profile - Add country and city fields to User model - Create database migration for location fields - Add validation for country and city (max 100 characters) - Create countries.js with complete list of 195 countries - Add country dropdown select and city text input to profile page - Include country and city in GET /api/users/me response - Update profile form to support location data Users can now select their country from a dropdown list of all countries and enter their city name.
2025-11-13 20:57:43 +01:00
-- AlterTable
ALTER TABLE "users" ADD COLUMN "city" VARCHAR(100),
ADD COLUMN "country" VARCHAR(100);
Reference in New Issue Copy Permalink
Powered by Gitea
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API