добавление поля description в таблицу категорий (ВОЛК)
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
+5
-1
@@ -160,7 +160,8 @@ def ensure_database_structure():
|
||||
CREATE TABLE categories (
|
||||
AUTO_ID INT AUTO_INCREMENT PRIMARY KEY,
|
||||
ID VARCHAR(255),
|
||||
TITLE VARCHAR(2048)
|
||||
TITLE VARCHAR(2048),
|
||||
description TEXT
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
|
||||
'''
|
||||
}
|
||||
@@ -220,6 +221,9 @@ def ensure_database_structure():
|
||||
],
|
||||
'interlinks': [
|
||||
{'column': 'auto_added', 'type': 'BOOLEAN DEFAULT 0'}
|
||||
],
|
||||
'categories': [
|
||||
{'column': 'description', 'type': 'TEXT'}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user