Sha256: f255697c42afe27f760f43c14cde45502c2eea9f54c7e10cfd4bfe24be275d42
Contents?: true
Size: 505 Bytes
Versions: 34
Compression:
Stored size: 505 Bytes
Contents
class AddAvatarsToUsers < ActiveRecord::Migration[5.2] 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
34 entries across 24 versions & 1 rubygems