logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20160312193225_add_attachment_header_to_accounts.rb (224B)


  1. class AddAttachmentHeaderToAccounts < ActiveRecord::Migration[4.2]
  2. def self.up
  3. change_table :accounts do |t|
  4. t.attachment :header
  5. end
  6. end
  7. def self.down
  8. remove_attachment :accounts, :header
  9. end
  10. end