[ВОЛК] добавление поля URL картинки в таблицу категорий (площадок)
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-12-25 20:31:01 +03:00
parent 18e7aaef34
commit e339cac7d9
+4 -2
View File
@@ -163,7 +163,8 @@ def ensure_database_structure():
ID VARCHAR(255),
TITLE VARCHAR(2048),
description TEXT,
tg_id BIGINT NULL
tg_id BIGINT NULL,
image_url VARCHAR(2048)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
'''
}
@@ -226,7 +227,8 @@ def ensure_database_structure():
],
'categories': [
{'column': 'description', 'type': 'TEXT'},
{'column': 'tg_id', 'type': 'BIGINT NULL'}
{'column': 'tg_id', 'type': 'BIGINT NULL'},
{'column': 'image_url', 'type': 'VARCHAR(2048)'}
],
'events': [
{'column': 'authors', 'type': 'VARCHAR(255)'}