Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20150610065936_add_dashboard_to_users.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2628e450722f21f1c699690d555e9246f37c8350 (plain)
1
2
3
4
5
6
7
8
9
class AddDashboardToUsers < ActiveRecord::Migration
  def up
    add_column :users, :dashboard, :integer, default: 0
  end

  def down
    remove_column :users, :dashboard
  end
end