fix schema.rb
fix admin gallery page