Add all tables and columns for migration
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
kolaente 2020-06-22 21:55:17 +02:00
parent c91a791a4d
commit 78757162ab
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 77 additions and 0 deletions

View File

@ -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 {