Download migrations/005_ai_learning_memory.sql from Basel0/qshub: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/spaces/Basel0/qshub/resolve/main/migrations/005_ai_learning_memory.sql
- Command line
-
hf download hf://spaces/Basel0/qshub/migrations/005_ai_learning_memory.sql
-
curl -L -o 005_ai_learning_memory.sql https://huggingface.co/spaces/Basel0/qshub/resolve/main/migrations/005_ai_learning_memory.sql
422 Bytes
| -- Migration: 005_ai_learning_memory | |
| -- Description: Creates the qto_memory_rules table to store user-specific AI mappings and global rules. | |
| CREATE TABLE IF NOT EXISTS qto_ai_category_mappings ( | |
| id INT AUTO_INCREMENT PRIMARY KEY, | |
| user_id INT NULL, | |
| original_text TEXT NOT NULL, | |
| mapped_category TEXT NOT NULL, | |
| status VARCHAR(50) DEFAULT 'pending', | |
| created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP | |
| ); | |