Download migrations/002_feedback_schema.sql from Basel0/qshub: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/Basel0/qshub/resolve/main/migrations/002_feedback_schema.sql
- Command line
-
hf download hf://spaces/Basel0/qshub/migrations/002_feedback_schema.sql
-
curl -L -o 002_feedback_schema.sql https://huggingface.co/spaces/Basel0/qshub/resolve/main/migrations/002_feedback_schema.sql
353 Bytes
| CREATE TABLE IF NOT EXISTS qto_ai_corrections ( | |
| id INT AUTO_INCREMENT PRIMARY KEY, | |
| user_id INT, | |
| drawing_type VARCHAR(50), | |
| item_key VARCHAR(100), | |
| original_value VARCHAR(255), | |
| corrected_value VARCHAR(255), | |
| created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, | |
| FOREIGN KEY (user_id) REFERENCES qto_users(id) ON DELETE SET NULL | |
| ); | |