def do_migration
      migration_exists = Dir["db/migrate/*_create_user_queues.rb"].count > 0

      if migration_exists and installing?
        puts "UserQ is already installed. Maybe a 'rake db:migrate' command might help?"
        return
      end

      create_migration

      puts "Success! UserQ is installed. You can now use it in your application." if installing?
      puts "UserQ has already been uninstalled. Remember the 'user_queue' table needs to be manually destroyed." if destroying? and migration_exists == false
      puts "Success! UserQ is uninstalled. The table 'userq_queue' needs to be destroyed manually to complete removal." if destroying? and migration_exists
  end
def do_migration
      migration_exists = Dir["db/migrate/*_create_user_queues.rb"].count > 0

      if migration_exists and installing?
        puts "UserQ is already installed. Maybe a 'rake db:migrate' command might help?"
        return
      end

      create_migration

      puts "Success! UserQ is installed. You can now use it in your application." if installing?
      puts "UserQ has already been uninstalled. Remember the 'user_queue' table needs to be manually destroyed." if destroying? and migration_exists == false
      puts "Success! UserQ is uninstalled. The table 'userq_queue' needs to be destroyed manually to complete removal." if destroying? and migration_exists
  end
Setup and create the migration