blob: 202f5ca00c106ba3c064c3fbd51f974bc0f57e2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class AddShaToStatusCheckResponse < ActiveRecord::Migration[6.0]
def up
execute('DELETE FROM status_check_responses')
add_column :status_check_responses, :sha, :binary, null: false # rubocop:disable Rails/NotNullColumn
end
def down
remove_column :status_check_responses, :sha
end
end
|