5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:31:42 +00:00
panel/db/migrate/20200126175158_change_last_modified.rb

10 lines
217 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class ChangeLastModified < ActiveRecord::Migration[6.0]
def change
return unless Rails.env.production?
change_column :access_logs, :sent_http_last_modified, :string
end
end