debian-mirror-gitlab/db/migrate/20200609142506_remove_not_null_constraint_from_weight_events_table.rb
2020-06-23 00:09:42 +05:30

10 lines
219 B
Ruby

# frozen_string_literal: true
class RemoveNotNullConstraintFromWeightEventsTable < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
change_column_null :resource_weight_events, :user_id, true
end
end