901 B
901 B
Database — Note & Tasks
SQL Housing Fix (DONE ✅)
- Go to SQL tab in phpMyAdmin
- Execute initial ALTER and CREATE TABLE statements
- Check if
player_housestable hascreditcolumn - Execute
creditcolumn additions if necessary - Final verification and report
DB: red-valley → http://localhost/phpmyadmin/
crypto_history Optimization (PENDING ⚠️)
- Run initial query to check row count and date range
- Total: 2,343 rows
- Range: 2026-02-11 → 2026-03-03
- Delete rows older than 7 days
- Run final query to confirm remaining count
Warning
Tabelul
crypto_historyare 2,343 rânduri și generează un oxmysql oversized query la fiecare SELECT *. Trebuie adăugat LIMIT sau șters periodic.
SQL de curățat:
DELETE FROM crypto_history WHERE created_at < DATE_SUB(NOW(), INTERVAL 7 DAY);