scinote-web/db/migrate/20210617111749_rename_webhook_method_column.rb

8 lines
168 B
Ruby
Raw Normal View History

2021-06-18 04:00:13 +08:00
# frozen_string_literal: true
2021-06-17 20:54:30 +08:00
class RenameWebhookMethodColumn < ActiveRecord::Migration[6.1]
def change
rename_column :webhooks, :method, :http_method
end
end