Add all tables and columns for migration
continuous-integration/drone/pr Build was killed
Details
continuous-integration/drone/pr Build was killed
Details
This commit is contained in:
parent
c91a791a4d
commit
78757162ab
|
@ -82,6 +82,83 @@ ALTER TABLE ` + table + ` DROP COLUMN ` + column + `_ts;
|
|||
"created",
|
||||
"updated",
|
||||
},
|
||||
"files": {
|
||||
"created_unix",
|
||||
},
|
||||
"label_task": {
|
||||
"created",
|
||||
},
|
||||
"labels": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"link_sharing": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"list": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"migration_status": {
|
||||
"created_unix",
|
||||
},
|
||||
"namespaces": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"task_assignees": {
|
||||
"created",
|
||||
},
|
||||
"task_attachments": {
|
||||
"created",
|
||||
},
|
||||
"task_comments": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"task_relations": {
|
||||
"created",
|
||||
},
|
||||
"task_reminders": {
|
||||
"created",
|
||||
"reminder_unix",
|
||||
},
|
||||
"tasks": {
|
||||
"done_at_unix",
|
||||
"due_date_unix",
|
||||
"start_date_unix",
|
||||
"end_date_unix",
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"team_list": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"team_members": {
|
||||
"created",
|
||||
},
|
||||
"team_namespaces": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"teams": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"users": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"users_list": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
"users_namespace": {
|
||||
"created",
|
||||
"updated",
|
||||
},
|
||||
} {
|
||||
for _, column := range columns {
|
||||
if err := convertTime(table, column); err != nil {
|
||||
|
|
Loading…
Reference in New Issue