Sha256: 4fc65681ff5ff62796fd4468be20cbf7394d8bbb845b866436cab95466487de1
Contents?: true
Size: 526 Bytes
Versions: 31
Compression:
Stored size: 526 Bytes
Contents
class AddAvatarColumnsToUser < ActiveRecord::Migration 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
31 entries across 31 versions & 6 rubygems