20140427000001_update_storage.rb 303 B

123456789
  1. class UpdateStorage < ActiveRecord::Migration
  2. def up
  3. change_column :store_files, :data, :binary, :limit => 200.megabytes, :null => true
  4. add_column :store_files, :file_system, :boolean, :null => false, :default => false
  5. end
  6. def down
  7. end
  8. end