Sha256: 6f6c0d7a8f5caf77a50f9da55390d1db8cbd3d18dd20ec49d4292af4f040a519
Contents?: true
Size: 337 Bytes
Versions: 13
Compression:
Stored size: 337 Bytes
Contents
class ChangedChameleonsAddedIncompatibleSpotAndDeletedSpots < ActiveRecord::Migration def self.up add_column :chameleons, :incompatible_spot, :integer remove_column :chameleons, :spots end def self.down add_column :chameleons, :spots, :string, :limit=>255 remove_column :chameleons, :incompatible_spot end end
Version data entries
13 entries across 13 versions & 1 rubygems