feat: ship creator journey v2 and profile updates

This commit is contained in:
2026-04-12 21:42:07 +02:00
parent a2457f4e49
commit d5cff21ea2
335 changed files with 20147 additions and 1545 deletions

View File

@@ -0,0 +1,26 @@
Import legacy News into Skinbase
1. Add these environment variables to your `.env` (or set in your environment):
- `LEGACY_DB_HOST`
- `LEGACY_DB_PORT` (optional, default 3306)
- `LEGACY_DB_DATABASE`
- `LEGACY_DB_USERNAME`
- `LEGACY_DB_PASSWORD`
2. Run a dry-run to preview what will be imported:
```
php artisan news:import-legacy --dry-run --limit=100
```
3. Run the actual import in batches:
```
php artisan news:import-legacy --start=0 --limit=500
php artisan news:import-legacy --start=500 --limit=500
```
Notes:
- The importer maps legacy `news` fields conservatively. You should review and adapt the mapping in `app/Console/Commands/ImportLegacyNewsCommand.php` before running a full import.
- Author and category mapping is best-effort (falls back to user id 1 and null category). Adjust mapping logic if you want to preserve authors/categories.