From 34413615683677e26213263fb98f63b5aab64872 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 12 Mar 2016 20:47:22 +0100 Subject: Adding simple_form, adding profile settings, header image --- .../20160312193225_add_attachment_header_to_accounts.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migrate/20160312193225_add_attachment_header_to_accounts.rb (limited to 'db/migrate') diff --git a/db/migrate/20160312193225_add_attachment_header_to_accounts.rb b/db/migrate/20160312193225_add_attachment_header_to_accounts.rb new file mode 100644 index 000000000..bdd09c367 --- /dev/null +++ b/db/migrate/20160312193225_add_attachment_header_to_accounts.rb @@ -0,0 +1,11 @@ +class AddAttachmentHeaderToAccounts < ActiveRecord::Migration + def self.up + change_table :accounts do |t| + t.attachment :header + end + end + + def self.down + remove_attachment :accounts, :header + end +end -- cgit