Files
codeocean/db/migrate/20230120185807_add_algorithm_to_proxy_exercise.rb
2023-01-20 21:02:20 +01:00

8 lines
242 B
Ruby

# frozen_string_literal: true
class AddAlgorithmToProxyExercise < ActiveRecord::Migration[7.0]
def change
add_column :proxy_exercises, :algorithm, :integer, limit: 1, null: false, default: 0, comment: 'Used as enum in Rails'
end
end