summaryrefslogtreecommitdiff
path: root/db/migrate/20200601210148_add_dashboard_timezone_to_project_metrics_setting.rb
blob: 3f74ef28621667117ba1c6aaba0e7cdec8956c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

# See https://docs.gitlab.com/ee/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class AddDashboardTimezoneToProjectMetricsSetting < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    add_column :project_metrics_settings, :dashboard_timezone, :integer, limit: 2, null: false, default: 0
  end
end