Adding simple_form, adding profile settings, header image
This commit is contained in:
		@@ -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
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
#
 | 
			
		||||
# It's strongly recommended that you check this file into your version control system.
 | 
			
		||||
 | 
			
		||||
ActiveRecord::Schema.define(version: 20160306172223) do
 | 
			
		||||
ActiveRecord::Schema.define(version: 20160312193225) do
 | 
			
		||||
 | 
			
		||||
  # These are extensions that must be enabled in order to support this database
 | 
			
		||||
  enable_extension "plpgsql"
 | 
			
		||||
@@ -36,6 +36,10 @@ ActiveRecord::Schema.define(version: 20160306172223) do
 | 
			
		||||
    t.string   "avatar_content_type"
 | 
			
		||||
    t.integer  "avatar_file_size"
 | 
			
		||||
    t.datetime "avatar_updated_at"
 | 
			
		||||
    t.string   "header_file_name"
 | 
			
		||||
    t.string   "header_content_type"
 | 
			
		||||
    t.integer  "header_file_size"
 | 
			
		||||
    t.datetime "header_updated_at"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  add_index "accounts", ["username", "domain"], name: "index_accounts_on_username_and_domain", unique: true, using: :btree
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user