incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject [18/58] [partial] Initial setup of new console
Date Tue, 08 Oct 2013 17:59:26 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb b/contrib/blur-console/blur-admin/db/migrate/20110621225406_create_blur_zookeeper_instances.rb
deleted file mode 100644
index f37ced1..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110621225838_create_controllers.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110621225838_create_controllers.rb b/contrib/blur-console/blur-admin/db/migrate/20110621225838_create_controllers.rb
deleted file mode 100644
index a2e1506..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110621230243_create_clusters.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110621230243_create_clusters.rb b/contrib/blur-console/blur-admin/db/migrate/20110621230243_create_clusters.rb
deleted file mode 100644
index 7be4c31..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110621230340_create_shards.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110621230340_create_shards.rb b/contrib/blur-console/blur-admin/db/migrate/20110621230340_create_shards.rb
deleted file mode 100644
index 2a0ff0a..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb b/contrib/blur-console/blur-admin/db/migrate/20110622025021_update_columns_on_blur_zookeeper_instances.rb
deleted file mode 100644
index e95a2b9..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb b/contrib/blur-console/blur-admin/db/migrate/20110623200720_add_status_column_to_zookeeper_instance.rb
deleted file mode 100644
index e744c0b..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb b/contrib/blur-console/blur-admin/db/migrate/20110627180604_change_uuid_columntoint.rb
deleted file mode 100644
index 5371f86..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb b/contrib/blur-console/blur-admin/db/migrate/20110627183020_change_uuid_int_to_bigint.rb
deleted file mode 100644
index d327828..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb b/contrib/blur-console/blur-admin/db/migrate/20110629190801_change_cluster_to_belong_to_instance.rb
deleted file mode 100644
index 6fef4cb..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb b/contrib/blur-console/blur-admin/db/migrate/20110630160404_rename_blur_zookeeper_instances_to_zookeepers.rb
deleted file mode 100644
index c8e158f..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb b/contrib/blur-console/blur-admin/db/migrate/20110630161453_rename_blur_zookeeper_instance_id.rb
deleted file mode 100644
index f32c4d6..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb b/contrib/blur-console/blur-admin/db/migrate/20110701142732_change_blur_table_current_size_to_bigint.rb
deleted file mode 100644
index 3d6ef3d..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110701185350_create_searches.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110701185350_create_searches.rb b/contrib/blur-console/blur-admin/db/migrate/20110701185350_create_searches.rb
deleted file mode 100644
index 9df4188..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb b/contrib/blur-console/blur-admin/db/migrate/20110705170021_change_columnsto_textobject.rb
deleted file mode 100644
index 675da26..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb b/contrib/blur-console/blur-admin/db/migrate/20110705191234_add_column_shard_id_to_blur_tables.rb
deleted file mode 100644
index 6b249a6..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb b/contrib/blur-console/blur-admin/db/migrate/20110707132418_create_shards_blur_tables_table.rb
deleted file mode 100644
index 3ee003e..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb b/contrib/blur-console/blur-admin/db/migrate/20110707201314_update_model_with_new_understand_of_shards.rb
deleted file mode 100644
index 86a7d3e..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110713141138_create_preferences.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110713141138_create_preferences.rb b/contrib/blur-console/blur-admin/db/migrate/20110713141138_create_preferences.rb
deleted file mode 100644
index 965b703..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb b/contrib/blur-console/blur-admin/db/migrate/20110714160454_adding_useridto_the_model_for_association.rb
deleted file mode 100644
index feef455..0000000
--- a/contrib/blur-console/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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110719191147_create_metrics_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110719191147_create_metrics_table.rb b/contrib/blur-console/blur-admin/db/migrate/20110719191147_create_metrics_table.rb
deleted file mode 100644
index 8c7c3fb..0000000
--- a/contrib/blur-console/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

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb b/contrib/blur-console/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb
deleted file mode 100644
index 1897bb3..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110727012928_create_hdfs.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110727012928_create_hdfs.rb b/contrib/blur-console/blur-admin/db/migrate/20110727012928_create_hdfs.rb
deleted file mode 100644
index 9ee6cb6..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110727012928_create_hdfs.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb b/contrib/blur-console/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb
deleted file mode 100644
index b3c6001..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110727013041_update_hdfs_stats.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb b/contrib/blur-console/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb
deleted file mode 100644
index f369e81..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb b/contrib/blur-console/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb
deleted file mode 100644
index 5c298ab..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb b/contrib/blur-console/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
deleted file mode 100644
index 2ca4fd8..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
+++ /dev/null
@@ -1,47 +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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb b/contrib/blur-console/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb
deleted file mode 100644
index 5195883..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb b/contrib/blur-console/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
deleted file mode 100644
index 09d10cc..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
+++ /dev/null
@@ -1,42 +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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111001193840_add_license_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111001193840_add_license_table.rb b/contrib/blur-console/blur-admin/db/migrate/20111001193840_add_license_table.rb
deleted file mode 100644
index 627ee76..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111001193840_add_license_table.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111002175546_add_indexes.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111002175546_add_indexes.rb b/contrib/blur-console/blur-admin/db/migrate/20111002175546_add_indexes.rb
deleted file mode 100644
index e79976e..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111002175546_add_indexes.rb
+++ /dev/null
@@ -1,48 +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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb b/contrib/blur-console/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
deleted file mode 100644
index ebded79..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
+++ /dev/null
@@ -1,44 +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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb b/contrib/blur-console/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb
deleted file mode 100644
index e348e71..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111015191154_add_name_column_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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb b/contrib/blur-console/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb
deleted file mode 100644
index b8373fb..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111030120201_remove_node_location_column.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb b/contrib/blur-console/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb
deleted file mode 100644
index 5753671..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111030120430_increase_size_of_query_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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb b/contrib/blur-console/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
deleted file mode 100644
index adc0d7f..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
+++ /dev/null
@@ -1,29 +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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb b/contrib/blur-console/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb
deleted file mode 100644
index bac3105..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111219160043_add_record_only_to_search.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb b/contrib/blur-console/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb
deleted file mode 100644
index b1a8fb9..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120110024452_update_license_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120110024452_update_license_table.rb b/contrib/blur-console/blur-admin/db/migrate/20120110024452_update_license_table.rb
deleted file mode 100644
index c05f6ee..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120110024452_update_license_table.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb b/contrib/blur-console/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb
deleted file mode 100644
index 67c8b6e..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120309015311_add_safe_mode.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120309015311_add_safe_mode.rb b/contrib/blur-console/blur-admin/db/migrate/20120309015311_add_safe_mode.rb
deleted file mode 100644
index 76a1e8a..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120309015311_add_safe_mode.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb b/contrib/blur-console/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb
deleted file mode 100644
index a5593de..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120604180240_add_record_only_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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb b/contrib/blur-console/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb
deleted file mode 100644
index 077302e..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb b/contrib/blur-console/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb
deleted file mode 100644
index f42f960..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb b/contrib/blur-console/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
deleted file mode 100644
index a65fbf2..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
+++ /dev/null
@@ -1,27 +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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120807191217_create_audits.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120807191217_create_audits.rb b/contrib/blur-console/blur-admin/db/migrate/20120807191217_create_audits.rb
deleted file mode 100644
index ed6efd9..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120807191217_create_audits.rb
+++ /dev/null
@@ -1,29 +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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb b/contrib/blur-console/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb
deleted file mode 100644
index 9c1bbf4..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb b/contrib/blur-console/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb
deleted file mode 100644
index 62ea3d7..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120808182829_change_user_to_user_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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb b/contrib/blur-console/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
deleted file mode 100644
index b2e09d0..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
+++ /dev/null
@@ -1,25 +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 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/688e9d08/contrib/blur-console/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb b/contrib/blur-console/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb
deleted file mode 100644
index 53d3814..0000000
--- a/contrib/blur-console/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.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.
-
-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


Mime
View raw message