incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [43/50] [abbrv] Initial Blur Console commit.
Date Fri, 17 May 2013 03:25:10 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/environment.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/environment.rb b/blur-admin/config/environment.rb
deleted file mode 100644
index 1068f6b..0000000
--- a/blur-admin/config/environment.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# Load the rails application
-require File.expand_path('../application', __FILE__)
-
-# Initialize the rails application
-BlurAdmin::Application.initialize!
-
-#generate the routes file
-#JsRoutes.generate!
-
-#setup authlogic
-BlurAdmin::Application.configure do
-  config.gem "authlogic"
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/environments/development.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/environments/development.rb b/blur-admin/config/environments/development.rb
deleted file mode 100644
index d424417..0000000
--- a/blur-admin/config/environments/development.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-BlurAdmin::Application.configure do
-  # Settings specified here will take precedence over those in config/application.rb
-
-  # In the development environment your application's code is reloaded on
-  # every request. This slows down response time but is perfect for development
-  # since you don't have to restart the web server when you make code changes.
-  config.cache_classes = false
-
-  # Log error messages when you accidentally call methods on nil.
-  config.whiny_nils = true
-
-  # Show full error reports and disable caching
-  config.consider_all_requests_local       = true
-  config.action_controller.perform_caching = false
-
-  # Don't care if the mailer can't send
-  config.action_mailer.raise_delivery_errors = false
-
-  # Print deprecation notices to the Rails logger
-  config.active_support.deprecation = :log
-
-  # Only use best-standards-support built into browsers
-  config.action_dispatch.best_standards_support = :builtin
-
-  # Raise exception on mass assignment protection for Active Record models
-  config.active_record.mass_assignment_sanitizer = :strict
-
-  # Log the query plan for queries taking more than this (works
-  # with SQLite, MySQL, and PostgreSQL)
-  config.active_record.auto_explain_threshold_in_seconds = 0.5
-
-  # Do not compress assets
-  config.assets.compress = false
-
-  # Expands the lines which load the assets
-  config.assets.debug = true
-
-  
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/environments/production.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/environments/production.rb b/blur-admin/config/environments/production.rb
deleted file mode 100644
index bc5d83d..0000000
--- a/blur-admin/config/environments/production.rb
+++ /dev/null
@@ -1,49 +0,0 @@
-BlurAdmin::Application.configure do
-  # Settings specified here will take precedence over those in config/application.rb
-
-  # Code is not reloaded between requests
-  config.cache_classes = true
-
-  # Full error reports are disabled and caching is turned on
-  config.consider_all_requests_local       = false
-  config.action_controller.perform_caching = true
-
-  # Disable Rails's static asset server (Apache or nginx will already do this)
-  config.serve_static_assets = false
-
-  # Compress JavaScripts and CSS
-  config.assets.compress = true
-
-  # Don't fallback to assets pipeline if a precompiled asset is missed
-  config.assets.compile = false
-
-  # Generate digests for assets URLs
-  config.assets.digest = true
-  
-  config.assets.precompile += Dir.foreach('app/assets/javascripts/').select{|file| (file =~ /.js/) }
-  config.assets.precompile += ['blur_table/blur_tables.js', 'dashboard/dashboard.js', 'environment/environment.js']
-  
-  #.reject{|file| (file =~ /.*\.coffee/).nil? && (file =~ /routes.js/).nil?}.collect{|file| file.gsub /.coffee/, ''}
-  
-  config.action_dispatch.x_sendfile_header = "X-Sendfile"
-  
-  class LogFormatter < Logger::Formatter
-    def call(severity,time,progname,msg)
-      "#{severity} #tok1-block-tok #{msg}\n"
-    end
-  end
-  config.logger = Logger.new("#{::Rails.root.to_s}/log/#{ENV['RAILS_ENV']}.log", 10,26_214_400)
-  config.logger.formatter = LogFormatter.new
-  config.logger.level = Logger::WARN
-
-  config.i18n.fallbacks = true
-
-  # Send deprecation notices to registered listeners
-  config.active_support.deprecation = :notify
-
-  # Log the query plan for queries taking more than this (works
-  # with SQLite, MySQL, and PostgreSQL)
-  config.active_record.auto_explain_threshold_in_seconds = 2
-
-  config.action_dispatch.rack_cache = {:metastore => "rails:/", :entitystore => "rails:/", :verbose => false}
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/environments/test.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/environments/test.rb b/blur-admin/config/environments/test.rb
deleted file mode 100644
index e0e9194..0000000
--- a/blur-admin/config/environments/test.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-BlurAdmin::Application.configure do
-  # Settings specified here will take precedence over those in config/application.rb
-
-  # The test environment is used exclusively to run your application's
-  # test suite. You never need to work with it otherwise. Remember that
-  # your test database is "scratch space" for the test suite and is wiped
-  # and recreated between test runs. Don't rely on the data there!
-  config.cache_classes = true
-
-  # Configure static asset server for tests with Cache-Control for performance
-  config.serve_static_assets = true
-  config.static_cache_control = "public, max-age=3600"
-
-  # Log error messages when you accidentally call methods on nil
-  config.whiny_nils = true
-
-  # Show full error reports and disable caching
-  config.consider_all_requests_local       = true
-  config.action_controller.perform_caching = false
-
-  # Raise exceptions instead of rendering exception templates
-  config.action_dispatch.show_exceptions = false
-
-  # Disable request forgery protection in test environment
-  config.action_controller.allow_forgery_protection    = false
-
-  # Tell Action Mailer not to deliver emails to the real world.
-  # The :test delivery method accumulates sent emails in the
-  # ActionMailer::Base.deliveries array.
-  config.action_mailer.delivery_method = :test
-
-  # Raise exception on mass assignment protection for Active Record models
-  config.active_record.mass_assignment_sanitizer = :strict
-
-  # Print deprecation notices to the stderr
-  config.active_support.deprecation = :stderr
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/asset_precompile_prefix_fix.rb b/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
deleted file mode 100644
index b8b645d..0000000
--- a/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# ./config/initializers/asset_precompile_prefix_fix.rb
-#
-# So we can deploy at a SubURI, and precompile assets to respect that with:
-#    RAILS_RELATIVE_URL_ROOT=/foo rake assets:precompile
-#
-# See: http://stackoverflow.com/questions/7293918/broken-precompiled-assets-in-rails-3-1-when-deploying-to-a-sub-uri
-#
-# Confirmed working in Rails 3.1.3
-# Future versions of Rails may make this monkey patch unneccesary. (or break
-# it without making it unneccesary)
-#
-#
-# We are monkey patching source originally (in 3.1.3) at:
-# https://github.com/rails/rails/blob/master/actionpack/lib/sprockets/helpers/rails_helper.rb#L54
-
-module Sprockets
-  module Helpers
-    module RailsHelper
-
-      included do |klass|
-        klass.alias_method_chain :asset_path, :prefix
-      end
-      
-      def asset_path_with_prefix(*args)
-        path = asset_path_without_prefix(*args)
-        
-        if !asset_paths.send(:has_request?)
-          path = ENV['RAILS_RELATIVE_URL_ROOT'] + path if ENV['RAILS_RELATIVE_URL_ROOT']
-        end
-        
-        return path
-      end
-       
-                
-    end 
-  end
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/backtrace_silencers.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/backtrace_silencers.rb b/blur-admin/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/blur-admin/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/inflections.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/inflections.rb b/blur-admin/config/initializers/inflections.rb
deleted file mode 100644
index dc38422..0000000
--- a/blur-admin/config/initializers/inflections.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-ActiveSupport::Inflector.inflections do |inflection|
-  inflection.irregular "is", "are"
-  inflection.uncountable "hdfs"
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/mime_types.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/mime_types.rb b/blur-admin/config/initializers/mime_types.rb
deleted file mode 100644
index 72aca7e..0000000
--- a/blur-admin/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
-# Mime::Type.register_alias "text/html", :iphone

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/overrides.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/overrides.rb b/blur-admin/config/initializers/overrides.rb
deleted file mode 100644
index a4712df..0000000
--- a/blur-admin/config/initializers/overrides.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-module Rack
-  module Utils
-    def escape(s)
-      CGI.escape(s.to_s)
-    end
-    def unescape(s)
-      CGI.unescape(s)
-    end
-  end
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/quiet_assets.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/quiet_assets.rb b/blur-admin/config/initializers/quiet_assets.rb
deleted file mode 100644
index a7a2f01..0000000
--- a/blur-admin/config/initializers/quiet_assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-Rails.application.assets.logger = Logger.new('/dev/null')
-Rails::Rack::Logger.class_eval do
-  def call_with_quiet_assets(env)
-    previous_level = Rails.logger.level
-    Rails.logger.level = Logger::ERROR if env['PATH_INFO'].index("/assets/") == 0
-    call_without_quiet_assets(env).tap do
-      Rails.logger.level = previous_level
-    end
-  end
-  alias_method_chain :call, :quiet_assets
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/secret_token.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/secret_token.rb b/blur-admin/config/initializers/secret_token.rb
deleted file mode 100644
index ee59639..0000000
--- a/blur-admin/config/initializers/secret_token.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-BlurAdmin::Application.config.secret_token = '538e2d950ec5888e4edf191ba28ebb070927afbad9b98a316afc7ec040300990b8499d4824902814c46c09ed9749d4fe195fe62e503dc4d3972244db2c14864f'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/session_store.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/session_store.rb b/blur-admin/config/initializers/session_store.rb
deleted file mode 100644
index 5230500..0000000
--- a/blur-admin/config/initializers/session_store.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-BlurAdmin::Application.config.session_store :cookie_store, key: '_blur-admin_session'
-
-# Use the database for sessions instead of the cookie-based default,
-# which shouldn't be used to store highly confidential information
-# (create the session table with "rails generate session_migration")
-# BlurAdmin::Application.config.session_store :active_record_store

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/initializers/wrap_parameters.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/initializers/wrap_parameters.rb b/blur-admin/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 999df20..0000000
--- a/blur-admin/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-#
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
-  wrap_parameters format: [:json]
-end
-
-# Disable root element in JSON by default.
-ActiveSupport.on_load(:active_record) do
-  self.include_root_in_json = false
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/locales/en.yml
----------------------------------------------------------------------
diff --git a/blur-admin/config/locales/en.yml b/blur-admin/config/locales/en.yml
deleted file mode 100644
index 179c14c..0000000
--- a/blur-admin/config/locales/en.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-# Sample localization file for English. Add more files in this directory for other locales.
-# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
-
-en:
-  hello: "Hello world"

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/config/routes.rb
----------------------------------------------------------------------
diff --git a/blur-admin/config/routes.rb b/blur-admin/config/routes.rb
deleted file mode 100644
index 5d06002..0000000
--- a/blur-admin/config/routes.rb
+++ /dev/null
@@ -1,100 +0,0 @@
-BlurAdmin::Application.routes.draw do
-  # User routes
-  resources :users do
-    match '/preferences/:pref_type' => 'preferences#update', :via => :put, :as => :preference
-  end
-
-  resources :admin_settings, :only => [:update]
-
-  # Zookeeper routes
-  resources :zookeepers, :only => [:index, :show, :destroy], :shallow => true do
-    # Nested cluster Resource
-    resources :clusters, :only => [:destroy] do
-      # Nested Shards Resource
-      resources :blur_shards, :only => [:index, :destroy]
-    end
-
-    # Nested BlurTables Resource
-    resources :blur_tables, :only => :index do
-
-      # BlurTable routes
-      member do
-        get 'terms'
-        get 'hosts'
-        get 'schema'
-        put 'comment'
-      end
-      collection do
-        put 'enable'
-        put 'disable'
-        delete 'destroy'
-      end
-    end
-
-    # Nested BlurQueries Resource
-    resources :blur_queries, :only => [:index, :show] do
-
-      #Blur Queries routes
-      member do
-        put 'cancel'
-      end
-      collection do
-        get 'refresh/:time_length', :action => :refresh, :as => :refresh
-      end
-    end
-
-    # Nested Controller Resource
-    resources :blur_controllers, :only => [:destroy]
-
-    # Nested Search Resource
-    resources :searches, :only => [:index, :update, :show, :destroy] do
-      collection do
-        post 'save'
-        post ':blur_table', :action => :create, :as => :fetch_results
-        get 'filters/:blur_table', :action => :filters, :as => :filters
-      end
-    end
-
-    # Zookeeper specific action
-    member do
-      get 'long_running' => 'zookeepers#long_running_queries', :as => :long_running_queries
-    end
-  end
-
-  resources :hdfs, :only => :index do
-    get '(/:id(/show(*fs_path)))', :action => :index, :on => :collection
-    member do
-      get 'info'
-      get 'folder_info'
-      get 'slow_folder_info'
-      get 'expand(*fs_path)', :action => :expand, :as => :expand, :format => false
-      get 'file_info(*fs_path)', :action => :file_info, :as => :file_info, :format => false
-      post 'move', :action => :move_file
-      post 'mkdir'
-      post 'delete_file'
-      get 'upload_form'
-      post 'upload'
-      get 'structure', :action => :file_tree
-
-    end
-  end
-
-  resources :user_sessions, :only => [:create]
-  resources :hdfs_metrics, :only => [:index] do
-    member do
-      get 'stats', :action => :stats
-    end
-  end
-
-  resources :audits, :only => [:index]
-
-  match 'login' => 'user_sessions#new', :as => :login
-  match 'logout' => 'user_sessions#destroy', :as => :logout
-  match 'help/:tab' => 'application#help', :as => :help
-  root :to => 'zookeepers#index'
-
-    #Errors
-  match '/404' => 'errors#error_404'
-  match '/500' => 'errors#error_500'
-  match '/422' => 'errors#error_422'
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110524204140_create_blur_tables.rb b/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
deleted file mode 100644
index fabff77..0000000
--- a/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-class CreateBlurTables < ActiveRecord::Migration
-  def self.up
-    create_table :blur_tables do |t|
-      t.string :table_name
-      t.integer :current_size
-      t.integer :query_usage
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :blur_tables
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb b/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
deleted file mode 100644
index ff75ad8..0000000
--- a/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-class CreateHdfsStats < ActiveRecord::Migration
-  def self.up
-    create_table :hdfs_stats do |t|
-      t.string :hdfs_name
-      t.integer :config_capacity
-      t.integer :present_capacity
-      t.integer :dfs_remaining
-      t.integer :dfs_used
-      t.decimal :dfs_used_percent
-      t.integer :under_replicated
-      t.integer :corrupt_blocks
-      t.integer :missing_blocks
-      t.integer :total_nodes
-      t.integer :dead_nodes
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :hdfs_stats
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110525015557_create_blur_queries.rb b/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
deleted file mode 100644
index 6a044b7..0000000
--- a/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-class CreateBlurQueries < ActiveRecord::Migration
-  def self.up
-    create_table :blur_queries do |t|
-      t.string :query_string
-      t.integer :cpu_time
-      t.integer :real_time
-      t.integer :complete
-      t.boolean :interrupted
-      t.boolean :running
-      t.string :uuid
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :blur_queries
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb b/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
deleted file mode 100644
index b7d10be..0000000
--- a/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-class AddExtraColumnsToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :table_name, :string
-    add_column :blur_queries, :super_query_on, :boolean
-    add_column :blur_queries, :facets, :string
-    add_column :blur_queries, :selectors, :string
-    add_column :blur_queries, :start, :integer
-    add_column :blur_queries, :fetch, :integer
-  end
-
-  def self.down
-    remove_column :blur_queries, :table_name
-    remove_column :blur_queries, :super_query_on
-    remove_column :blur_queries, :facets
-    remove_column :blur_queries, :selectors
-    remove_column :blur_queries, :start
-    remove_column :blur_queries, :fetch
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb b/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
deleted file mode 100644
index 4e7838c..0000000
--- a/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class AddFilterColumnsToBlurQueries < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :pre_filters, :text, :limit => 64.kilobytes + 1
-    add_column :blur_queries, :post_filters, :text, :limit => 64.kilobytes + 1
-  end
-
-  def self.down
-    remove_column :blur_queries, :pre_filters
-    remove_column :blur_queries, :post_filters
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb b/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
deleted file mode 100644
index c59b97b..0000000
--- a/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ModifyFetchColumnName < ActiveRecord::Migration
-  def self.up
-    rename_column :blur_queries, :fetch, :fetch_num
-  end
-
-  def self.down
-    rename_column :blur_queries, :fetch_num, :fetch
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110602014308_add_selector_columns.rb b/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
deleted file mode 100644
index fe0de05..0000000
--- a/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-class AddSelectorColumns < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :selector_column_families, :text
-    add_column :blur_queries, :selector_columns, :text
-
-    remove_column :blur_queries, :selectors
-  end
-
-  def self.down
-    remove_column :blur_queries, :selector_column_families
-    remove_column :blur_queries, :selector_columns
-
-    add_column :blur_queries, :selectors, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb b/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
deleted file mode 100644
index 9b980c3..0000000
--- a/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddUseridToBlurQueries < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :userid, :string
-  end
-
-  def self.down
-    remove_column :blur_queries, :userid
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110607191131_create_users.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110607191131_create_users.rb b/blur-admin/db/migrate/20110607191131_create_users.rb
deleted file mode 100644
index bddcb4b..0000000
--- a/blur-admin/db/migrate/20110607191131_create_users.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class CreateUsers < ActiveRecord::Migration
-  def self.up
-    create_table :users do |t|
-      t.string :username
-      t.string :email
-      t.string :crypted_password
-      t.string :password_salt
-      t.string :persistence_token
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :users
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb b/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
deleted file mode 100644
index 159dd1a..0000000
--- a/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddRolesMaskToUsers < ActiveRecord::Migration
-  def self.up
-    add_column :users, :roles_mask, :integer
-  end
-
-  def self.down
-    remove_column :users, :roles_mask
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb b/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
deleted file mode 100644
index e2835e7..0000000
--- a/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddCountColumnToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :record_count, :integer, :limit => 8
-  end
-
-  def self.down
-    remove_column :blur_tables, :record_count
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb b/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
deleted file mode 100644
index 38f2d80..0000000
--- a/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddStatusColumnToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :status, :boolean
-  end
-
-  def self.down
-    remove_column :blur_tables, :record_count
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb b/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
deleted file mode 100644
index 81da54b..0000000
--- a/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-class AddAgentdataColumnToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :table_uri, :boolean
-    add_column :blur_tables, :table_analyzer, :text
-    add_column :blur_tables, :schema, :text
-    add_column :blur_tables, :server, :text
-  end
-
-  def self.down
-    remove_column :blur_tables, :table_uri
-    remove_column :blur_tables, :table_analyzer
-    remove_column :blur_tables, :schema
-    remove_column :blur_tables, :server
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110617142244_fix_table_types.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110617142244_fix_table_types.rb b/blur-admin/db/migrate/20110617142244_fix_table_types.rb
deleted file mode 100644
index 69ccaa8..0000000
--- a/blur-admin/db/migrate/20110617142244_fix_table_types.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class FixTableTypes < ActiveRecord::Migration
-  def self.up
-    change_column :blur_tables, :status, :integer
-    change_column :blur_tables, :table_uri, :string
-  end
-
-  def self.down
-    change_column :blur_tables, :status, :boolean
-    change_column :blur_tables, :table_uri, :boolean
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110617163052_change_schema_column.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110617163052_change_schema_column.rb b/blur-admin/db/migrate/20110617163052_change_schema_column.rb
deleted file mode 100644
index 3951fc8..0000000
--- a/blur-admin/db/migrate/20110617163052_change_schema_column.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ChangeSchemaColumn < ActiveRecord::Migration
-  def self.up
-    rename_column :blur_tables, :schema, :table_schema
-  end
-
-  def self.down
-    rename_column :blur_tables, :table_schema, :schema
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb b/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
deleted file mode 100644
index bf45db9..0000000
--- a/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddTableIdColumnToBlurQueries < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :blur_table_id, :int
-  end
-
-  def self.down
-    remove_column :blur_queries, :blur_table_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb b/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
deleted file mode 100644
index bd3df32..0000000
--- a/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class RemoveTableNameColumnFromBlurQueries < ActiveRecord::Migration
-  def self.up
-    remove_column :blur_queries, :table_name
-  end
-
-  def self.down
-    add_column :blur_queries, :table_name, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb b/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb
deleted file mode 100644
index 0bd24f7..0000000
--- a/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-class CreateBlurZookeeperInstances < ActiveRecord::Migration
-  def self.up
-    create_table :blur_zookeeper_instances do |t|
-      t.string :host
-      t.string :port
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :blur_zookeeper_instances
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110621225838_create_controllers.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110621225838_create_controllers.rb b/blur-admin/db/migrate/20110621225838_create_controllers.rb
deleted file mode 100644
index 8b37589..0000000
--- a/blur-admin/db/migrate/20110621225838_create_controllers.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-class CreateControllers < ActiveRecord::Migration
-  def self.up
-    create_table :controllers do |t|
-      t.integer :status
-      t.string :blur_version
-      t.string :node_name
-      t.string :node_location
-      t.integer :blur_zookeeper_instance_id
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :controllers
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110621230243_create_clusters.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110621230243_create_clusters.rb b/blur-admin/db/migrate/20110621230243_create_clusters.rb
deleted file mode 100644
index 79662f4..0000000
--- a/blur-admin/db/migrate/20110621230243_create_clusters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-class CreateClusters < ActiveRecord::Migration
-  def self.up
-    create_table :clusters do |t|
-      t.string :name
-      t.integer :controller_id
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :clusters
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110621230340_create_shards.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110621230340_create_shards.rb b/blur-admin/db/migrate/20110621230340_create_shards.rb
deleted file mode 100644
index 4f4021f..0000000
--- a/blur-admin/db/migrate/20110621230340_create_shards.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-class CreateShards < ActiveRecord::Migration
-  def self.up
-    create_table :shards do |t|
-      t.integer :status
-      t.string :blur_version
-      t.string :node_name
-      t.string :node_location
-      t.integer :cluster_id
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :shards
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb b/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb
deleted file mode 100644
index d2fbc84..0000000
--- a/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-class UpdateColumnsOnBlurZookeeperInstances < ActiveRecord::Migration
-  def self.up
-    add_column :blur_zookeeper_instances, :name, :string
-
-    remove_column :blur_zookeeper_instances, :port
-    remove_column :blur_zookeeper_instances, :created_at
-    remove_column :blur_zookeeper_instances, :updated_at
-
-    rename_column :blur_zookeeper_instances, :host, :url
-  end
-
-  def self.down
-    remove_column :blur_zookeeper_instances, :name
-
-    add_column :blur_zookeeper_instances, :port, :string
-    add_column :blur_zookeeper_instances, :created_at, :datetime
-    add_column :blur_zookeeper_instances, :updated_at, :datetime
-
-    rename_column :blur_zookeeper_instances, :url, :host
-  end
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb b/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb
deleted file mode 100644
index 6f5a481..0000000
--- a/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddStatusColumnToZookeeperInstance < ActiveRecord::Migration
-  def self.up
-    add_column :blur_zookeeper_instances, :status, :integer
-  end
-
-  def self.down
-    remove_column :blur_zookeeper_instances, :status
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb b/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb
deleted file mode 100644
index 09d4712..0000000
--- a/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ChangeUuidColumntoint < ActiveRecord::Migration
-  def self.up
-    change_column :blur_queries, :uuid, :integer
-  end
-
-  def self.down
-    change_column :blur_queries, :uuid, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb b/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb
deleted file mode 100644
index 719d32c..0000000
--- a/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ChangeUuidIntToBigint < ActiveRecord::Migration
-  def self.up
-    change_column :blur_queries, :uuid, :integer, :limit => 8
-  end
-
-  def self.down
-    change_column :blur_queries, :uuid, :integer
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb b/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb
deleted file mode 100644
index cf718e7..0000000
--- a/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ChangeClusterToBelongToInstance < ActiveRecord::Migration
-  def self.up
-    rename_column :clusters, :controller_id, :blur_zookeeper_instance_id
-  end
-
-  def self.down
-    rename_column :clusters, :blur_zookeeper_instance_id, :controller_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb b/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb
deleted file mode 100644
index 5a019df..0000000
--- a/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class RenameBlurZookeeperInstancesToZookeepers < ActiveRecord::Migration
-  def self.up
-    rename_table :blur_zookeeper_instances, :zookeepers
-  end
-
-  def self.down
-    rename_table :zookeepers, :blur_zookeeper_instances
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb b/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb
deleted file mode 100644
index 636f968..0000000
--- a/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class RenameBlurZookeeperInstanceId < ActiveRecord::Migration
-  def self.up
-    rename_column :clusters, :blur_zookeeper_instance_id, :zookeeper_id
-    rename_column :controllers, :blur_zookeeper_instance_id, :zookeeper_id
-  end
-
-  def self.down
-    rename_column :clusters, :zookeeper_id, :blur_zookeeper_instance_id
-    rename_column :controllers, :zookeeper_id, :blur_zookeeper_instance_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb b/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb
deleted file mode 100644
index 5c08000..0000000
--- a/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class ChangeBlurTableCurrentSizeToBigint < ActiveRecord::Migration
-  def self.up
-    change_table :blur_tables do |t|
-      t.change :current_size, :integer, :limit => 8
-    end
-  end
-
-  def self.down
-    change_table :blur_tables do |t|
-      t.change :current_size, :integer
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110701185350_create_searches.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110701185350_create_searches.rb b/blur-admin/db/migrate/20110701185350_create_searches.rb
deleted file mode 100644
index 4a3cc12..0000000
--- a/blur-admin/db/migrate/20110701185350_create_searches.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-class CreateSearches < ActiveRecord::Migration
-  def self.up
-    create_table :searches do |t|
-      t.boolean :super_query
-      t.string :columns
-      t.integer :fetch
-      t.integer :offset
-      t.string :name
-      t.string :query
-      t.integer :blur_table_id
-      t.integer :user_id
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :searches
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb b/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb
deleted file mode 100644
index 892d664..0000000
--- a/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ChangeColumnstoTextobject < ActiveRecord::Migration
-  def self.up
-    change_column :searches, :columns, :text
-  end
-
-  def self.down
-    change_column :searches, :columns, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb b/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb
deleted file mode 100644
index bb79f55..0000000
--- a/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddColumnShardIdToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :shard_id, :integer
-  end
-
-  def self.down
-    remove_column :blur_tables, :shard_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb b/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb
deleted file mode 100644
index a4ba515..0000000
--- a/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-class CreateShardsBlurTablesTable < ActiveRecord::Migration
-  def self.up
-    create_table :blur_tables_shards, :id => false do |t|
-      t.integer :shard_id
-      t.integer :blur_table_id
-    end
-    remove_column :blur_tables, :shard_id
-  end
-
-  def self.down
-    drop_table :blur_tables_shards
-    add_column :blur_tables, :shard_id, :integer
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb b/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb
deleted file mode 100644
index 5076962..0000000
--- a/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class UpdateModelWithNewUnderstandOfShards < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :cluster_id, :integer
-
-    drop_table :blur_tables_shards
-  end
-
-  def self.down
-    remove_column :blur_tables, :cluster_id
-
-    create_table :blur_tables_shards, :id => false do |t|
-      t.integer :shard_id
-      t.integer :blur_table_id
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110713141138_create_preferences.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110713141138_create_preferences.rb b/blur-admin/db/migrate/20110713141138_create_preferences.rb
deleted file mode 100644
index 8ec543a..0000000
--- a/blur-admin/db/migrate/20110713141138_create_preferences.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-class CreatePreferences < ActiveRecord::Migration
-  def self.up
-    create_table :preferences do |t|
-      t.string :name
-      t.string :pref_type
-      t.text :value
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :preferences
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb b/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb
deleted file mode 100644
index faeae13..0000000
--- a/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddingUseridtoTheModelForAssociation < ActiveRecord::Migration
-  def self.up
-    add_column :preferences, :user_id, :integer
-  end
-
-  def self.down
-    remove_column :preferences, :user_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110719191147_create_metrics_table.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110719191147_create_metrics_table.rb b/blur-admin/db/migrate/20110719191147_create_metrics_table.rb
deleted file mode 100644
index ef8be99..0000000
--- a/blur-admin/db/migrate/20110719191147_create_metrics_table.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-class CreateMetricsTable < ActiveRecord::Migration
-  def self.up
-    create_table :system_metrics, :force => true do |t|
-      t.column :name, :string, :null => false
-      t.column :started_at, :datetime, :null => false
-      t.column :transaction_id, :string
-      t.column :payload, :text
-      t.column :duration, :float, :null => false
-      t.column :exclusive_duration, :float, :null => false
-      t.column :request_id, :integer
-      t.column :parent_id, :integer
-      t.column :action, :string, :null => false
-      t.column :category, :string, :null => false
-    end
-
-    # TODO: Add indexes
-  end
-
-  def self.down
-    drop_table :system_metrics
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb b/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb
deleted file mode 100644
index 70afe2f..0000000
--- a/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class AddColumnsToHdfsStats < ActiveRecord::Migration
-  def self.up
-    add_column :hdfs_stats, :host, :string
-    add_column :hdfs_stats, :port, :integer
-  end
-
-  def self.down
-    remove_column :hdfs_stats, :host
-    remove_column :hdfs_stats, :port
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110727012928_create_hdfs.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110727012928_create_hdfs.rb b/blur-admin/db/migrate/20110727012928_create_hdfs.rb
deleted file mode 100644
index 856e168..0000000
--- a/blur-admin/db/migrate/20110727012928_create_hdfs.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-class CreateHdfs < ActiveRecord::Migration
-  def self.up
-    create_table :hdfs do |t|
-      t.string :host
-      t.string :port
-      t.string :name
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :hdfs
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb b/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb
deleted file mode 100644
index a03fa5f..0000000
--- a/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class UpdateHdfsStats < ActiveRecord::Migration
-  def self.up
-    remove_column :hdfs_stats, :hdfs_name
-    add_column :hdfs_stats, :hdfs_id, :integer
-  end
-
-  def self.down
-    add_column :hdfs_stats, :hdfs_name, :string
-    remove_column :hdfs_stats, :hdfs_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb b/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb
deleted file mode 100644
index 5e87e62..0000000
--- a/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class AddHostAndPortToZookeeper < ActiveRecord::Migration
-  def self.up
-    add_column :zookeepers, :host, :string
-    add_column :zookeepers, :port, :string
-  end
-
-  def self.down
-    remove_column :zookeepers, :host
-    remove_column :zookeepers, :port
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb b/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb
deleted file mode 100644
index 51e85fd..0000000
--- a/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddRowCountToBlurTable < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :row_count, :integer, :limit => 8
-  end
-
-  def self.down
-    remove_column :blur_tables, :row_count
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb b/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
deleted file mode 100644
index e76b1af..0000000
--- a/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-class ChangeBlurQueriesModel < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :times, :string
-    remove_column :blur_queries, :cpu_time
-    remove_column :blur_queries, :real_time
-
-    remove_column :blur_queries, :interrupted
-    remove_column :blur_queries, :running
-
-    rename_column :blur_queries, :complete, :complete_shards
-    add_column :blur_queries, :total_shards, :integer
-
-    add_column :blur_queries, :state, :integer
-
-  end
-
-  def self.down
-    remove_column :blur_queries, :times
-    add_column :blur_queries, :cpu_time, :integer
-    add_column :blur_queries, :real_time, :integer
-
-    add_column :blur_queries, :interrupted, :boolean
-    add_column :blur_queries, :running, :boolean
-
-    rename_column :blur_queries, :complete_shards, :complete
-    remove_column :blur_queries, :total_shards
-
-    remove_column :blur_queries, :state
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb b/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb
deleted file mode 100644
index a2cc40f..0000000
--- a/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddLiveNodesToHdfsStats < ActiveRecord::Migration
-  def self.up
-    add_column :hdfs_stats, :live_nodes, :int
-  end
-
-  def self.down
-    remove_column :hdfs_stats, :live_nodes
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb b/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
deleted file mode 100644
index 728a375..0000000
--- a/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-class UpdateHdfsStatsColumnSizes < ActiveRecord::Migration
-  def self.up
-    change_column :hdfs_stats, :config_capacity, :integer, :limit => 7
-    change_column :hdfs_stats, :present_capacity, :integer, :limit => 7
-    change_column :hdfs_stats, :dfs_remaining, :integer, :limit => 7
-    change_column :hdfs_stats, :dfs_used, :integer, :limit => 7
-    change_column :hdfs_stats, :under_replicated, :integer, :limit => 7
-    change_column :hdfs_stats, :corrupt_blocks, :integer, :limit => 7
-    change_column :hdfs_stats, :missing_blocks, :integer, :limit => 7
-    change_column :hdfs_stats, :port, :string
-    change_column :hdfs_stats, :dfs_used_percent, :float
-  end
-
-  def self.down
-    change_column :hdfs_stats, :config_capacity, :integer
-    change_column :hdfs_stats, :present_capacity, :integer
-    change_column :hdfs_stats, :dfs_remaining, :integer
-    change_column :hdfs_stats, :dfs_used, :integer
-    change_column :hdfs_stats, :under_replicated, :integer
-    change_column :hdfs_stats, :corrupt_blocks, :integer
-    change_column :hdfs_stats, :missing_blocks, :integer
-    change_column :hdfs_stats, :port, :integer
-    change_column :hdfs_stats, :dfs_used_percent, :decimal
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111001193840_add_license_table.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111001193840_add_license_table.rb b/blur-admin/db/migrate/20111001193840_add_license_table.rb
deleted file mode 100644
index f3e7006..0000000
--- a/blur-admin/db/migrate/20111001193840_add_license_table.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class AddLicenseTable < ActiveRecord::Migration
-  def self.up
-    create_table :licenses, {:id => false} do |t|
-      t.string :org
-      t.date :issued_date
-      t.date :expires_date
-    end
-  end
-
-  def self.down
-    drop_table :licenses
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111002175546_add_indexes.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111002175546_add_indexes.rb b/blur-admin/db/migrate/20111002175546_add_indexes.rb
deleted file mode 100644
index ad39fd2..0000000
--- a/blur-admin/db/migrate/20111002175546_add_indexes.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-class AddIndexes < ActiveRecord::Migration
-  def self.up
-    add_index :blur_queries, :blur_table_id
-    add_index :blur_tables, :cluster_id
-    add_index :clusters, :zookeeper_id
-    add_index :controllers, :zookeeper_id
-    add_index :hdfs_stats, :hdfs_id
-    add_index :preferences, :user_id
-    add_index :searches, :blur_table_id
-    add_index :searches, :user_id
-    add_index :shards, :cluster_id
-    add_index :system_metrics, :transaction_id
-    add_index :system_metrics, :request_id
-    add_index :system_metrics, :parent_id
-  end
-
-  def self.down
-    remove_index :blur_queries, :blur_table_id
-    remove_index :blur_tables, :cluster_id
-    remove_index :clusters, :zookeeper_id
-    remove_index :controllers, :zookeeper_id
-    remove_index :hdfs_stats, :hdfs_id
-    remove_index :preferences, :user_id
-    remove_index :searches, :blur_table_id
-    remove_index :searches, :user_id
-    remove_index :shards, :cluster_id
-    remove_index :system_metrics, :transaction_id
-    remove_index :system_metrics, :request_id
-    remove_index :system_metrics, :parent_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb b/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
deleted file mode 100644
index 6cb19ad..0000000
--- a/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-class RemoveExtraColumns < ActiveRecord::Migration
-  def self.up
-    remove_column :shards, :created_at
-    remove_column :shards, :updated_at
-    remove_column :hdfs_stats, :updated_at
-    remove_column :hdfs, :created_at
-    remove_column :hdfs, :updated_at
-    remove_column :controllers, :created_at
-    remove_column :controllers, :updated_at
-    remove_column :clusters, :created_at
-    remove_column :clusters, :updated_at
-    remove_column :blur_tables, :created_at
-  end
-
-  def self.down
-    add_column :shards, :created_at, :datetime
-    add_column :shards, :updated_at, :datetime
-    add_column :hdfs_stats, :updated_at, :datetime
-    add_column :hdfs, :created_at, :datetime
-    add_column :hdfs, :updated_at, :datetime
-    add_column :controllers, :created_at, :datetime
-    add_column :controllers, :updated_at, :datetime
-    add_column :clusters, :created_at, :datetime
-    add_column :clusters, :updated_at, :datetime
-    add_column :blur_tables, :created_at, :datetime
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb b/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb
deleted file mode 100644
index 995f042..0000000
--- a/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddNameColumnToUsers < ActiveRecord::Migration
-  def self.up
-    add_column :users, :name, :string
-  end
-
-  def self.down
-    remove_column :users, :name
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb b/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb
deleted file mode 100644
index 6a4d56b..0000000
--- a/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class RemoveNodeLocationColumn < ActiveRecord::Migration
-  def self.up
-    remove_column :shards, :node_location
-    remove_column :controllers, :node_location
-  end
-
-  def self.down
-    add_column :shards, :node_location, :string
-    add_column :controllers, :node_location, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb b/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb
deleted file mode 100644
index 07e1deb..0000000
--- a/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class IncreaseSizeOfQueryColumn < ActiveRecord::Migration
-  def self.up
-    change_column :blur_queries, :query_string, :text
-  end
-
-  def self.down
-    change_column :blur_queries, :query_string, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb b/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
deleted file mode 100644
index 5562e11..0000000
--- a/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class ChangeHostPortToUrl < ActiveRecord::Migration
-  def self.up
-    remove_columns(:zookeepers, :host, :port)
-    add_column(:zookeepers, :blur_urls, :string, :limit=>4000)
-  end
-
-  def self.down
-    add_column :zookeepers, :host, :string
-    add_column :zookeepers, :port, :string
-    remove_column :zookeepers, :blur_urls
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb b/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb
deleted file mode 100644
index 28345d4..0000000
--- a/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddRecordOnlyToSearch < ActiveRecord::Migration
-  def self.up
-    add_column :searches, :record_only, :boolean, :default => 0
-  end
-
-  def self.down
-    remove_column :searches, :record_only
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb b/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb
deleted file mode 100644
index fe43892..0000000
--- a/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class ChangeLicensesToAddNodeInfo < ActiveRecord::Migration
-  def self.up
-    add_column :licenses, :node_overage, :int
-    add_column :licenses, :grace_period_days_remain, :int
-  end
-
-  def self.down
-    remove_column :licenses, :node_overage
-    remove_column :licenses, :grace_period_days_remain
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120110024452_update_license_table.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120110024452_update_license_table.rb b/blur-admin/db/migrate/20120110024452_update_license_table.rb
deleted file mode 100644
index 4ddf20a..0000000
--- a/blur-admin/db/migrate/20120110024452_update_license_table.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class UpdateLicenseTable < ActiveRecord::Migration
-  def self.up
-    add_column :licenses, :cluster_overage, :integer
-  end
-
-  def self.down
-    remove_column :licenses, :cluster_overage
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb b/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb
deleted file mode 100644
index d48fa44..0000000
--- a/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ChangeBlurTablesUpdatedAt < ActiveRecord::Migration
-  def up
-    change_column :blur_tables, :updated_at, :datetime, {:null => true}
-  end
-
-  def down
-    change_column :blur_tables, :updated_at, :datetime, {:null => false}
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120309015311_add_safe_mode.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120309015311_add_safe_mode.rb b/blur-admin/db/migrate/20120309015311_add_safe_mode.rb
deleted file mode 100644
index 713920a..0000000
--- a/blur-admin/db/migrate/20120309015311_add_safe_mode.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddSafeMode < ActiveRecord::Migration
-  def up
-    add_column :clusters, :safe_mode, :boolean
-  end
-
-  def down
-    remove_column :clusters, :safe_mode
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb b/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb
deleted file mode 100644
index df4734d..0000000
--- a/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddRecordOnlyToBlurQueries < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :record_only, :boolean
-  end
-
-  def self.down
-    remove_column :blur_queries, :record_only
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb b/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb
deleted file mode 100644
index 1a92a1c..0000000
--- a/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ChangeQueryStringToMediumTextDatatype < ActiveRecord::Migration
-  def up
-    change_column :blur_queries, :query_string, :text, :limit=>16777215
-  end
-
-  def down
-    change_column :blur_queries, :query_string, :text
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb b/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb
deleted file mode 100644
index 4688ad4..0000000
--- a/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class ChangeTypeToSmallerSizeMedText < ActiveRecord::Migration
-  def up
-    change_column :blur_queries, :query_string, :text, :limit => 64.kilobytes + 1
-  end
-
-  def down
-    change_column :blur_queries, :query_string, :text, :limit => 16777215
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb b/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
deleted file mode 100644
index 5a74076..0000000
--- a/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class AddCommentsColumnToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :comments, :string
-  end
-  
-  def self.down
-    remove_column :blur_tables, :comments
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120807191217_create_audits.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120807191217_create_audits.rb b/blur-admin/db/migrate/20120807191217_create_audits.rb
deleted file mode 100644
index f2ec2f7..0000000
--- a/blur-admin/db/migrate/20120807191217_create_audits.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class CreateAudits < ActiveRecord::Migration
-  def change
-    create_table :audits do |t|
-      t.string :user
-      t.integer :mutation
-      t.integer :model_affected
-      t.string :action
-
-      t.timestamps
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb b/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb
deleted file mode 100644
index 203cd80..0000000
--- a/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class ChangeAuditIntegersToStrings < ActiveRecord::Migration
-  def up
-    change_column :audits, :mutation, :string
-    change_column :audits, :model_affected, :string
-  end
-
-  def down
-    change_column :audits, :mutation, :integer
-    change_column :audits, :model_affected, :integer
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb b/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb
deleted file mode 100644
index 1e0edba..0000000
--- a/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class ChangeUserToUserId < ActiveRecord::Migration
-  def up
-    change_column :audits, :user, :integer
-    rename_column :audits, :user, :user_id
-  end
-
-  def down
-    rename_column :audits, :user_id, :user
-    change_column :audits, :user, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb b/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
deleted file mode 100644
index 2501087..0000000
--- a/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-class ChangeUsedToBothLogicalAndReal < ActiveRecord::Migration
-  def change
-    change_table :hdfs_stats do |t|
-      t.rename :dfs_used, :dfs_used_real
-      t.integer :dfs_used_logical
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb b/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb
deleted file mode 100644
index 3f1ef42..0000000
--- a/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class FixIntegerLengthForLogicalColumn < ActiveRecord::Migration
-  def change
-    change_table :hdfs_stats do |t|
-      t.change :dfs_used_logical, :integer, :limit => 8
-    end
-  end
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120820073548_update_collation_on_all_tables.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120820073548_update_collation_on_all_tables.rb b/blur-admin/db/migrate/20120820073548_update_collation_on_all_tables.rb
deleted file mode 100644
index f06d2f5..0000000
--- a/blur-admin/db/migrate/20120820073548_update_collation_on_all_tables.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-class UpdateCollationOnAllTables < ActiveRecord::Migration
-  def up
-    execute "ALTER TABLE audits DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE audits CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE blur_queries DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE blur_queries CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE blur_tables DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE blur_tables CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE clusters DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE clusters CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE controllers DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE controllers CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE hdfs DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE hdfs CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE hdfs_stats DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE hdfs_stats CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE licenses DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE licenses CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE preferences DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE preferences CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE searches DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE searches CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE shards DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE shards CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE users DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE users CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE zookeepers DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE zookeepers CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120824172333_change_controllersto_blur_controllers.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120824172333_change_controllersto_blur_controllers.rb b/blur-admin/db/migrate/20120824172333_change_controllersto_blur_controllers.rb
deleted file mode 100644
index 7c0941b..0000000
--- a/blur-admin/db/migrate/20120824172333_change_controllersto_blur_controllers.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ChangeControllerstoBlurControllers < ActiveRecord::Migration
-  def change
-    rename_table :controllers, :blur_controllers
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120824174553_change_shardto_blur_shards.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120824174553_change_shardto_blur_shards.rb b/blur-admin/db/migrate/20120824174553_change_shardto_blur_shards.rb
deleted file mode 100644
index 8a263ef..0000000
--- a/blur-admin/db/migrate/20120824174553_change_shardto_blur_shards.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ChangeShardtoBlurShards < ActiveRecord::Migration
-  def change
-    rename_table :shards, :blur_shards
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120827172222_add_zookeeper_to_audits.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120827172222_add_zookeeper_to_audits.rb b/blur-admin/db/migrate/20120827172222_add_zookeeper_to_audits.rb
deleted file mode 100644
index 1f67b15..0000000
--- a/blur-admin/db/migrate/20120827172222_add_zookeeper_to_audits.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class AddZookeeperToAudits < ActiveRecord::Migration
-  def change
-    add_column :audits, :zookeeper_affected, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120926202222_add_pre_filter_to_search.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120926202222_add_pre_filter_to_search.rb b/blur-admin/db/migrate/20120926202222_add_pre_filter_to_search.rb
deleted file mode 100644
index 70a3b8d..0000000
--- a/blur-admin/db/migrate/20120926202222_add_pre_filter_to_search.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class AddPreFilterToSearch < ActiveRecord::Migration
-  def change
-    add_column :searches, :pre_filter, :text
-
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20120926202240_add_post_filter_to_search.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20120926202240_add_post_filter_to_search.rb b/blur-admin/db/migrate/20120926202240_add_post_filter_to_search.rb
deleted file mode 100644
index 543db87..0000000
--- a/blur-admin/db/migrate/20120926202240_add_post_filter_to_search.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class AddPostFilterToSearch < ActiveRecord::Migration
-  def change
-    add_column :searches, :post_filter, :text
-
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20121025175857_add_online_ensemble_nodes.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20121025175857_add_online_ensemble_nodes.rb b/blur-admin/db/migrate/20121025175857_add_online_ensemble_nodes.rb
deleted file mode 100644
index 96c3e8b..0000000
--- a/blur-admin/db/migrate/20121025175857_add_online_ensemble_nodes.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class AddOnlineEnsembleNodes < ActiveRecord::Migration
-  def change
-    add_column :zookeepers, :online_ensemble_nodes, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20121030184429_add_timestamps_to_blur_objects.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20121030184429_add_timestamps_to_blur_objects.rb b/blur-admin/db/migrate/20121030184429_add_timestamps_to_blur_objects.rb
deleted file mode 100644
index e1ba023..0000000
--- a/blur-admin/db/migrate/20121030184429_add_timestamps_to_blur_objects.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class AddTimestampsToBlurObjects < ActiveRecord::Migration
-  def change
-    change_table :blur_shards do |table|
-      table.timestamps
-    end
-    change_table :blur_controllers do |table|
-      table.timestamps
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20121220193623_add_admin_conifgurations_table.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20121220193623_add_admin_conifgurations_table.rb b/blur-admin/db/migrate/20121220193623_add_admin_conifgurations_table.rb
deleted file mode 100644
index 1747fcd..0000000
--- a/blur-admin/db/migrate/20121220193623_add_admin_conifgurations_table.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class AddAdminConifgurationsTable < ActiveRecord::Migration
-  def change
-    create_table :admin_settings do |table|
-      table.column :setting, :string, :null => false
-      table.column :value, :string
-      table.timestamps
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20130106191159_rename_status_columns.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20130106191159_rename_status_columns.rb b/blur-admin/db/migrate/20130106191159_rename_status_columns.rb
deleted file mode 100644
index bb6f82b..0000000
--- a/blur-admin/db/migrate/20130106191159_rename_status_columns.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-class RenameStatusColumns < ActiveRecord::Migration
-  def up
-    rename_column :blur_controllers, :status, :controller_status
-    rename_column :blur_shards, :status, :shard_status
-    rename_column :blur_tables, :status, :table_status
-    rename_column :zookeepers, :status, :zookeeper_status
-  end
-
-  def down
-    rename_column :blur_controllers, :controller_status, :status
-    rename_column :blur_shards, :shard_status, :status
-    rename_column :blur_tables, :table_status, :status
-    rename_column :zookeepers, :status, :zookeeper_status
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b5b86c7e/blur-admin/db/migrate/20130505151503_drop_licenses_table.rb
----------------------------------------------------------------------
diff --git a/blur-admin/db/migrate/20130505151503_drop_licenses_table.rb b/blur-admin/db/migrate/20130505151503_drop_licenses_table.rb
deleted file mode 100644
index 7659f14..0000000
--- a/blur-admin/db/migrate/20130505151503_drop_licenses_table.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class DropLicensesTable < ActiveRecord::Migration
-  def up
-    drop_table :licenses
-  end
-
-  def down
-    create_table "licenses", :id => false, :force => true do |t|
-      t.string  "org"
-      t.date    "issued_date"
-      t.date    "expires_date"
-      t.integer "node_overage"
-      t.integer "grace_period_days_remain"
-      t.integer "cluster_overage"
-    end
-  end
-end


Mime
View raw message