Удаление поля number из таблицы категорий, добавление версии API ВОЛК в .env
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-11-14 13:28:01 +03:00
parent 345f8fd121
commit c6642f6cda
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -159,7 +159,6 @@ def ensure_database_structure():
'categories': '''
CREATE TABLE categories (
AUTO_ID INT AUTO_INCREMENT PRIMARY KEY,
NUMBER BIGINT,
ID VARCHAR(255),
TITLE VARCHAR(2048)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
@@ -284,7 +283,6 @@ def ensure_database_structure():
# Создание индексов для таблицы categories
categories_indexes = [
'CREATE INDEX IF NOT EXISTS idx_categories_number ON categories (NUMBER)',
'CREATE INDEX IF NOT EXISTS idx_categories_id ON categories (ID)'
]