debian-mirror-gitlab/db/post_migrate/20220916054103_remove_experience_level_column.rb
2022-11-25 23:54:43 +05:30

13 lines
288 B
Ruby

# frozen_string_literal: true
class RemoveExperienceLevelColumn < Gitlab::Database::Migration[2.0]
enable_lock_retries!
def up
remove_column :user_preferences, :experience_level
end
def down
add_column :user_preferences, :experience_level, :integer, limit: 2
end
end