2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-22 01:47:48 +00:00
moebooru/db/migrate/20100907215811_add_aux_to_history.rb
2018-03-10 18:15:56 +09:00

10 lines
190 B
Ruby

class AddAuxToHistory < ActiveRecord::Migration[5.1]
def self.up
add_column :histories, :aux_as_json, :text
end
def self.down
remove_column :histories, :aux_as_json
end
end