Sha256: b9c6e23068fb7fe64386d02d69ddf423656e969f111eac718025928c24de2eb5
Contents?: true
Size: 524 Bytes
Versions: 64
Compression:
Stored size: 524 Bytes
Contents
class AddAvatarsToUsers < ActiveRecord::Migration<%= migration_version %> def self.up add_column :users, "avatar_file_name", :string add_column :users, "avatar_content_type", :string add_column :users, "avatar_file_size", :integer add_column :users, "avatar_updated_at", :datetime end def self.down remove_column :users, "avatar_file_name" remove_column :users, "avatar_content_type" remove_column :users, "avatar_file_size" remove_column :users, "avatar_updated_at" end end
Version data entries
64 entries across 64 versions & 1 rubygems