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