Skip to content

Add scheduled_at field to jira_imports table

What does this MR do?

#213808 (closed)

Adds the field scheduled_at to the table jira_imports. This field then is updated when the import job is scheduled. Also, it uses this field in JiraImportType instead of created_at.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Migration outputs

Table creation (20200423101529)

UP

bundle exec rails db:migrate:down VERSION=20200423101529
== 20200423101529 AddScheduledAtToJiraImports: reverting ======================
-- remove_column(:jira_imports, :scheduled_at, :datetime_with_timezone)
   -> 0.0024s
== 20200423101529 AddScheduledAtToJiraImports: reverted (0.0062s) =============

DOWN

bundle exec rails db:migrate:up VERSION=20200423101529
== 20200423101529 AddScheduledAtToJiraImports: migrating ======================
-- add_column(:jira_imports, :scheduled_at, :datetime_with_timezone)
   -> 0.0020s
== 20200423101529 AddScheduledAtToJiraImports: migrated (0.0021s) =============

Closes #213808 (closed)

Edited by Eugenia Grieff

Merge request reports