обед
This commit is contained in:
@@ -276,7 +276,8 @@ function createSQLiteTables() {
|
||||
rework_comment TEXT,
|
||||
closed_at DATETIME,
|
||||
closed_by INTEGER,
|
||||
task_type TEXT DEFAULT 'regular',
|
||||
task_type TEXT DEFAULT "regular",
|
||||
type TEXT,
|
||||
approver_group_id INTEGER,
|
||||
document_id INTEGER,
|
||||
FOREIGN KEY (created_by) REFERENCES users (id),
|
||||
@@ -673,6 +674,7 @@ function checkAndUpdateTableStructure() {
|
||||
{ name: 'closed_at', type: 'DATETIME' },
|
||||
{ name: 'closed_by', type: 'INTEGER' },
|
||||
{ name: 'task_type', type: 'TEXT DEFAULT "regular"' },
|
||||
{ name: 'type', type: 'TEXT' },
|
||||
{ name: 'approver_group_id', type: 'INTEGER' },
|
||||
{ name: 'document_id', type: 'INTEGER' }
|
||||
],
|
||||
@@ -1058,6 +1060,7 @@ async function createPostgresTables() {
|
||||
closed_at TIMESTAMP,
|
||||
closed_by INTEGER REFERENCES users(id),
|
||||
task_type VARCHAR(50) DEFAULT 'regular',
|
||||
type VARCHAR(100),
|
||||
approver_group_id INTEGER,
|
||||
document_id INTEGER
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user