Sha256: 3d84026124ef27545af2ea03256fd7f7ecbe6f24f877d5a118876f753054f5e6

Contents?: true

Size: 200 Bytes

Versions: 5

Compression:

Stored size: 200 Bytes

Contents

class AddSerializedAttributesToUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :some_attributes, :text
  end

  def self.down
    remove_column :users, :some_attributes
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
to_factory-2.1.0 spec/db/migrate/5_add_serialized_attributes_to_users.rb
to_factory-2.0.0 spec/db/migrate/5_add_serialized_attributes_to_users.rb
to_factory-0.2.1 spec/db/migrate/5_add_serialized_attributes_to_users.rb
to_factory-0.2.0 spec/db/migrate/5_add_serialized_attributes_to_users.rb
to_factory-0.1.1 spec/db/migrate/5_add_serialized_attributes_to_users.rb