~cytrogen/masto-fe

ref: 67055b034300393bd9a345bc057e86baa848ae35 masto-fe/db/migrate/20160227230233_add_attachment_avatar_to_accounts.rb -rw-r--r-- 224 bytes
67055b03 — Claire Fix import order inconsistencies (#2289) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
class AddAttachmentAvatarToAccounts < ActiveRecord::Migration[4.2]
  def self.up
    change_table :accounts do |t|
      t.attachment :avatar
    end
  end

  def self.down
    remove_attachment :accounts, :avatar
  end
end