incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [23/29] Removing the legacy version of blur console.
Date Fri, 27 Jun 2014 13:26:06 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/asset_precompile_prefix_fix.rb b/contrib/blur-console-v1/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
deleted file mode 100644
index 4983521..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/asset_precompile_prefix_fix.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-
-# ./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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/backtrace_silencers.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/backtrace_silencers.rb b/contrib/blur-console-v1/blur-admin/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 57fd2a9..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# 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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/blur_instrumentation.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/blur_instrumentation.rb b/contrib/blur-console-v1/blur-admin/config/initializers/blur_instrumentation.rb
deleted file mode 100644
index edf661f..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/blur_instrumentation.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-ActiveSupport::Notifications.subscribe "search.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Query", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] #{payload[:query]} - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "terms.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Terms", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:family]}.#{payload[:column]}] #{payload[:starter]} (#{payload[:size]}) - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "enable.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Enable Table", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "disable.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Disable Table", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "destroy.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Destroy Table", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] (Underlying: #{payload[:underlying]}) - #{payload[:urls]}")
-end
-
-ActiveSupport::Notifications.subscribe "cancel.blur" do |name, start, finish, id, payload|
-  item_name = '%s (%dms)' % ["Blur Cancel Query", (finish - start)]
-  Rails.logger.debug("  #{item_name}  [#{payload[:table]}] #{payload[:uuid]} - #{payload[:urls]}")
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/inflections.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/inflections.rb b/contrib/blur-console-v1/blur-admin/config/initializers/inflections.rb
deleted file mode 100644
index e328443..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/inflections.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-ActiveSupport::Inflector.inflections do |inflection|
-  inflection.irregular "is", "are"
-  inflection.uncountable "hdfs"
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/mime_types.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/mime_types.rb b/contrib/blur-console-v1/blur-admin/config/initializers/mime_types.rb
deleted file mode 100644
index 7428a22..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# 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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/overrides.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/overrides.rb b/contrib/blur-console-v1/blur-admin/config/initializers/overrides.rb
deleted file mode 100644
index d830810..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/overrides.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/quiet_assets.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/quiet_assets.rb b/contrib/blur-console-v1/blur-admin/config/initializers/quiet_assets.rb
deleted file mode 100644
index ead0491..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/quiet_assets.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/secret_token.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/secret_token.rb b/contrib/blur-console-v1/blur-admin/config/initializers/secret_token.rb
deleted file mode 100644
index 65d81d9..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/secret_token.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# 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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/session_store.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/session_store.rb b/contrib/blur-console-v1/blur-admin/config/initializers/session_store.rb
deleted file mode 100644
index 8567a85..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/session_store.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# 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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/initializers/wrap_parameters.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/initializers/wrap_parameters.rb b/contrib/blur-console-v1/blur-admin/config/initializers/wrap_parameters.rb
deleted file mode 100644
index fa2f2df..0000000
--- a/contrib/blur-console-v1/blur-admin/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-# 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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/locales/en.yml
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/locales/en.yml b/contrib/blur-console-v1/blur-admin/config/locales/en.yml
deleted file mode 100644
index f93983f..0000000
--- a/contrib/blur-console-v1/blur-admin/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-
-# 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/70ce3b5d/contrib/blur-console-v1/blur-admin/config/routes.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/config/routes.rb b/contrib/blur-console-v1/blur-admin/config/routes.rb
deleted file mode 100644
index 3059209..0000000
--- a/contrib/blur-console-v1/blur-admin/config/routes.rb
+++ /dev/null
@@ -1,114 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110524204140_create_blur_tables.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
deleted file mode 100644
index 691a9aa..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110524204140_create_blur_tables.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
deleted file mode 100644
index b1204e8..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110524213803_create_hdfs_stats.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110525015557_create_blur_queries.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
deleted file mode 100644
index 7b1dadf..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110525015557_create_blur_queries.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
deleted file mode 100644
index 0afb90c..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110526003150_add_extra_columns_to_blur_tables.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
deleted file mode 100644
index ad00dae..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110526193123_add_filter_columns_to_blur_queries.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
deleted file mode 100644
index 5ad9a9d..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110526201313_modify_fetch_column_name.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110602014308_add_selector_columns.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
deleted file mode 100644
index f1e2fbe..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110602014308_add_selector_columns.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
deleted file mode 100644
index ea2bbe8..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110603004748_add_userid_to_blur_queries.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110607191131_create_users.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110607191131_create_users.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110607191131_create_users.rb
deleted file mode 100644
index 7b56eb2..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110607191131_create_users.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
deleted file mode 100644
index 9102c46..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110613135529_add_roles_mask_to_users.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
deleted file mode 100644
index d828e3a..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110614201547_add_count_column_to_blur_tables.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
deleted file mode 100644
index 811074e..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110616133049_add_status_column_to_blur_tables.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
deleted file mode 100644
index 402994f..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110617140116_add_agentdata_column_to_blur_tables.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110617142244_fix_table_types.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110617142244_fix_table_types.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110617142244_fix_table_types.rb
deleted file mode 100644
index 4af544d..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110617142244_fix_table_types.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110617163052_change_schema_column.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110617163052_change_schema_column.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110617163052_change_schema_column.rb
deleted file mode 100644
index f890aa7..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110617163052_change_schema_column.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
deleted file mode 100644
index b871899..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110621202105_add_table_id_column_to_blur_queries.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
deleted file mode 100644
index 63b4256..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110621202658_remove_table_name_column_from_blur_queries.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb
deleted file mode 100644
index f37ced1..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110621225838_create_controllers.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110621225838_create_controllers.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110621225838_create_controllers.rb
deleted file mode 100644
index a2e1506..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110621225838_create_controllers.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110621230243_create_clusters.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110621230243_create_clusters.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110621230243_create_clusters.rb
deleted file mode 100644
index 7be4c31..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110621230243_create_clusters.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110621230340_create_shards.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110621230340_create_shards.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110621230340_create_shards.rb
deleted file mode 100644
index 2a0ff0a..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110621230340_create_shards.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb
deleted file mode 100644
index e95a2b9..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb
deleted file mode 100644
index e744c0b..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb
deleted file mode 100644
index 5371f86..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb
deleted file mode 100644
index d327828..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb
deleted file mode 100644
index 6fef4cb..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb
deleted file mode 100644
index c8e158f..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb
deleted file mode 100644
index f32c4d6..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb
deleted file mode 100644
index 3d6ef3d..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110701185350_create_searches.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110701185350_create_searches.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110701185350_create_searches.rb
deleted file mode 100644
index 9df4188..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110701185350_create_searches.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb
deleted file mode 100644
index 675da26..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb
deleted file mode 100644
index 6b249a6..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb
deleted file mode 100644
index 3ee003e..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb
deleted file mode 100644
index 86a7d3e..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110713141138_create_preferences.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110713141138_create_preferences.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110713141138_create_preferences.rb
deleted file mode 100644
index 965b703..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110713141138_create_preferences.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb
deleted file mode 100644
index feef455..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110719191147_create_metrics_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110719191147_create_metrics_table.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110719191147_create_metrics_table.rb
deleted file mode 100644
index 8c7c3fb..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110719191147_create_metrics_table.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-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


Mime
View raw message