[ВОЛК] добавление поля URL картинки в таблицу категорий (площадок)
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
+4
-2
@@ -163,7 +163,8 @@ def ensure_database_structure():
|
|||||||
ID VARCHAR(255),
|
ID VARCHAR(255),
|
||||||
TITLE VARCHAR(2048),
|
TITLE VARCHAR(2048),
|
||||||
description TEXT,
|
description TEXT,
|
||||||
tg_id BIGINT NULL
|
tg_id BIGINT NULL,
|
||||||
|
image_url VARCHAR(2048)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
@@ -226,7 +227,8 @@ def ensure_database_structure():
|
|||||||
],
|
],
|
||||||
'categories': [
|
'categories': [
|
||||||
{'column': 'description', 'type': 'TEXT'},
|
{'column': 'description', 'type': 'TEXT'},
|
||||||
{'column': 'tg_id', 'type': 'BIGINT NULL'}
|
{'column': 'tg_id', 'type': 'BIGINT NULL'},
|
||||||
|
{'column': 'image_url', 'type': 'VARCHAR(2048)'}
|
||||||
],
|
],
|
||||||
'events': [
|
'events': [
|
||||||
{'column': 'authors', 'type': 'VARCHAR(255)'}
|
{'column': 'authors', 'type': 'VARCHAR(255)'}
|
||||||
|
|||||||
Reference in New Issue
Block a user