Sha256: 1b1e8ecddde66d1709b67bd705fee01896e435bfedf77460177a3affb23a9f46
Contents?: true
Size: 370 Bytes
Versions: 154
Compression:
Stored size: 370 Bytes
Contents
class StandardizeInfoAndData < ActiveRecord::Migration def self.up # Remove the host requirement. We'll add the column back in below. remove_column :vulns, :data change_table :vulns do |t| t.string :info, :limit => 65536 end end def self.down remove_column :vulns, :info change_table :notes do |t| t.string :data, :limit => 65536 end end end
Version data entries
154 entries across 154 versions & 1 rubygems