myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3259] trunk: removed structured_data plugin


From: noreply
Subject: [myexperiment-hackers] [3259] trunk: removed structured_data plugin
Date: Thu, 13 Dec 2012 15:46:26 +0000 (UTC)

Revision
3259
Author
dgc
Date
2012-12-13 15:46:26 +0000 (Thu, 13 Dec 2012)

Log Message

removed structured_data plugin

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/app/models/federation_source.rb (3258 => 3259)


--- trunk/app/models/federation_source.rb	2012-12-13 14:10:30 UTC (rev 3258)
+++ trunk/app/models/federation_source.rb	2012-12-13 15:46:26 UTC (rev 3259)
@@ -9,6 +9,5 @@
 class FederationSource < ActiveRecord::Base
   acts_as_site_entity
   acts_as_contributor
-  acts_as_structured_data
 end
 

Modified: trunk/app/models/workflow.rb (3258 => 3259)


--- trunk/app/models/workflow.rb	2012-12-13 14:10:30 UTC (rev 3258)
+++ trunk/app/models/workflow.rb	2012-12-13 15:46:26 UTC (rev 3259)
@@ -48,8 +48,6 @@
   
   acts_as_reviewable
 
-  acts_as_structured_data
-
   has_previews
 
   has_versions :workflow_versions,

Deleted: trunk/config/base_schema.xml (3258 => 3259)


--- trunk/config/base_schema.xml	2012-12-13 14:10:30 UTC (rev 3258)
+++ trunk/config/base_schema.xml	2012-12-13 15:46:26 UTC (rev 3259)
@@ -1,98 +0,0 @@
-<?xml version="1.0"?>
-<schema>
-
-  <table name="contributions">
-
-    <column type="integer"  name="contributor_id"/>
-    <column type="string"   name="contributor_type"/>
-    <column type="integer"  name="contributable_id"/>
-    <column type="string"   name="contributable_type"/>
-    <column type="integer"  name="policy_id"/>
-    <column type="datetime" name="created_at"/>
-    <column type="datetime" name="updated_at"/>
-    <column type="integer"  name="downloads_count"      default="0"/>
-    <column type="integer"  name="viewings_count"       default="0"/>
-    <column type="integer"  name="site_downloads_count" default="0"/>
-    <column type="integer"  name="site_viewings_count"  default="0"/>
-    <column type="float"    name="rating"/>
-    <column type="float"    name="rank"/>
-    <column type="string"   name="label"/>
-    <column type="integer"  name="content_type_id"/>
-    <column type="integer"  name="license_id"/>
-    <column type="string"   name="layout"/>
-
-    <index>
-      <column name="contributable_id"/>
-      <column name="contributable_type"/>
-    </index>
-
-    <index>
-      <column name="contributor_id"/>
-      <column name="contributor_type"/>
-    </index>
-
-  </table>
-
-  <table name="policies">
-   
-    <column type="integer"  name="contributor_id"/>
-    <column type="string"   name="contributor_type"/>
-    <column type="string"   name="name"/>
-    <column type="datetime" name="created_at"/>
-    <column type="datetime" name="updated_at"/>
-    <column type="integer"  name="share_mode"/>
-    <column type="integer"  name="update_mode"/>
-    <column type="boolean"  name="public_view"     default="false"/>
-    <column type="boolean"  name="public_download" default="false"/>
-
-  </table>
-
-  <table name="downloads">
-
-    <column type="integer"  name="contribution_id"/>
-    <column type="integer"  name="user_id"/>
-    <column type="datetime" name="created_at"/>
-    <column type="string"   name="user_agent"/>
-    <column type="boolean"  name="accessed_from_site" default="false"/>
-    <column type="string"   name="kind"/>
-
-    <index>
-      <column name="contribution_id"/>
-    </index>
-
-  </table>
-
-  <table name="content_types">
-
-    <column type="integer"  name="user_id"/>
-    <column type="string"   name="title"/>
-    <column type="text"     name="description"/>
-    <column type="text"     name="description_html"/>
-    <column type="string"   name="category"/>
-    <column type="string"   name="mime_type"/>
-    <column type="datetime" name="created_at"/>
-    <column type="datetime" name="updated_at"/>
-
-  </table>
-
-  <table name="user_reports">
-
-    <column type="integer"  name="user_id"/>
-    <column type="string"   name="subject_type"/>
-    <column type="integer"  name="subject_id"/>
-    <column type="text"     name="content"/>
-    <column type="text"     name="report"/>
-    <column type="datetime" name="created_at"/>
-
-  </table>
-
-  <table name="previews">
-
-    <column type="integer"  name="image_blob_id"/>
-    <column type="integer"  name="svg_blob_id"/>
-    <column type="datetime" name="created_at"/>
-
-  </table>
-
-</schema>
-

Modified: trunk/config/environment.rb (3258 => 3259)


--- trunk/config/environment.rb	2012-12-13 14:10:30 UTC (rev 3258)
+++ trunk/config/environment.rb	2012-12-13 15:46:26 UTC (rev 3259)
@@ -47,7 +47,6 @@
     :query_stats,
     :recaptcha,
     :simile_timeline,
-    :structured_data,
     :validates_email_veracity_of,
     :versioning
   ]

Added: trunk/db/migrate/000_removal_of_structured_data.rb (0 => 3259)


--- trunk/db/migrate/000_removal_of_structured_data.rb	                        (rev 0)
+++ trunk/db/migrate/000_removal_of_structured_data.rb	2012-12-13 15:46:26 UTC (rev 3259)
@@ -0,0 +1,310 @@
+class RemovalOfStructuredData < ActiveRecord::Migration
+  def self.up
+
+    # Don't create these tables in if the (now removed) structured_data plugin
+    # has already created them.
+
+    return if ActiveRecord::Base.connection.tables.include?("contributions")
+
+    create_table "concept_relations" do |t|
+      t.integer "subject_concept_id"
+      t.string  "relation_type"
+      t.integer "object_concept_id"
+    end
+
+    create_table "concepts" do |t|
+      t.datetime "updated_at"
+      t.text     "description_html"
+      t.string   "phrase"
+      t.text     "description"
+      t.integer  "vocabulary_id"
+      t.datetime "created_at"
+    end
+
+    create_table "content_types" do |t|
+      t.integer  "user_id"
+      t.string   "title"
+      t.text     "description"
+      t.text     "description_html"
+      t.string   "mime_type"
+      t.datetime "created_at"
+      t.datetime "updated_at"
+      t.string   "category"
+    end
+
+    create_table "contributions" do |t|
+      t.integer  "contributor_id"
+      t.string   "contributor_type"
+      t.integer  "contributable_id"
+      t.string   "contributable_type"
+      t.integer  "policy_id"
+      t.datetime "created_at"
+      t.datetime "updated_at"
+      t.integer  "downloads_count",      :default => 0
+      t.integer  "viewings_count",       :default => 0
+      t.float    "rating"
+      t.float    "rank"
+      t.integer  "content_type_id"
+      t.integer  "license_id"
+      t.integer  "site_downloads_count", :default => 0
+      t.integer  "site_viewings_count",  :default => 0
+      t.string   "label"
+      t.string   "layout"
+    end
+
+    add_index "contributions",     ["contributable_id", "contributable_type"]
+    add_index "contributions",     ["contributor_id", "contributor_type"]
+
+    create_table "downloads" do |t|
+      t.integer  "contribution_id"
+      t.integer  "user_id"
+      t.datetime "created_at"
+      t.string   "user_agent"
+      t.boolean  "accessed_from_site", :default => false
+      t.string   "kind"
+    end
+
+    add_index :downloads, ["contribution_id"]
+
+    create_table "federation_sources" do |t|
+      t.string "name"
+    end
+
+    create_table "labels" do |t|
+      t.integer "concept_id"
+      t.string  "language"
+      t.string  "text"
+      t.integer "vocabulary_id"
+      t.string  "label_type"
+    end
+
+    create_table "ontologies" do |t|
+      t.string   "prefix"
+      t.datetime "updated_at"
+      t.string   "uri"
+      t.string   "title"
+      t.text     "description_html"
+      t.text     "description"
+      t.integer  "user_id"
+      t.datetime "created_at"
+    end
+
+    create_table "pack_contributable_entries" do |t|
+      t.integer  "pack_id",               :null => false
+      t.integer  "contributable_id",      :null => false
+      t.integer  "contributable_version"
+      t.string   "contributable_type"
+      t.text     "comment"
+      t.integer  "user_id",               :null => false
+      t.datetime "created_at"
+      t.datetime "updated_at"
+    end
+
+    create_table "pack_remote_entries" do |t|
+      t.integer  "pack_id",       :null => false
+      t.string   "title"
+      t.string   "uri"
+      t.string   "alternate_uri"
+      t.text     "comment"
+      t.integer  "user_id",       :null => false
+      t.datetime "created_at"
+      t.datetime "updated_at"
+    end
+
+    create_table "packs" do |t|
+      t.integer  "contributor_id"
+      t.string   "contributor_type"
+      t.string   "title"
+      t.text     "description"
+      t.text     "description_html"
+      t.datetime "created_at"
+      t.datetime "updated_at"
+    end
+
+    create_table "policies" do |t|
+      t.integer  "contributor_id"
+      t.string   "contributor_type"
+      t.string   "name"
+      t.datetime "created_at"
+      t.datetime "updated_at"
+      t.integer  "share_mode"
+      t.integer  "update_mode"
+      t.boolean  "public_download",  :default => false
+      t.boolean  "public_view",      :default => false
+    end
+
+    create_table "predicates" do |t|
+      t.datetime "updated_at"
+      t.string   "title"
+      t.text     "description_html"
+      t.string   "phrase"
+      t.integer  "ontology_id"
+      t.text     "description"
+      t.text     "equivalent_to"
+      t.datetime "created_at"
+    end
+
+    create_table "previews" do |t|
+      t.integer  "svg_blob_id"
+      t.integer  "image_blob_id"
+      t.datetime "created_at"
+    end
+
+    create_table "relationships" do |t|
+      t.string   "objekt_type"
+      t.integer  "objekt_id"
+      t.string   "subject_type"
+      t.integer  "subject_id"
+      t.integer  "user_id"
+      t.datetime "created_at"
+      t.integer  "context_id"
+      t.integer  "predicate_id"
+      t.string   "context_type"
+    end
+
+    create_table "service_categories" do |t|
+      t.string   "uri"
+      t.datetime "updated_at"
+      t.integer  "service_id"
+      t.string   "label"
+      t.datetime "retrieved_at"
+      t.datetime "created_at"
+    end
+
+    create_table "service_deployments" do |t|
+      t.string   "iso3166_country_code"
+      t.string   "city"
+      t.string   "submitter_label"
+      t.string   "uri"
+      t.datetime "updated_at"
+      t.string   "submitter_uri"
+      t.string   "country"
+      t.integer  "service_id"
+      t.datetime "created"
+      t.integer  "service_provider_id"
+      t.string   "flag_url"
+      t.string   "endpoint"
+      t.datetime "retrieved_at"
+      t.datetime "created_at"
+    end
+
+    create_table "service_providers" do |t|
+      t.string   "name"
+      t.string   "uri"
+      t.datetime "updated_at"
+      t.text     "description"
+      t.datetime "created"
+      t.datetime "retrieved_at"
+      t.datetime "created_at"
+    end
+
+    create_table "service_tags" do |t|
+      t.string   "uri"
+      t.datetime "updated_at"
+      t.integer  "service_id"
+      t.string   "label"
+      t.datetime "retrieved_at"
+      t.datetime "created_at"
+    end
+
+    create_table "service_types" do |t|
+      t.datetime "updated_at"
+      t.integer  "service_id"
+      t.string   "label"
+      t.datetime "retrieved_at"
+      t.datetime "created_at"
+    end
+
+    create_table "services" do |t|
+      t.string   "documentation_uri"
+      t.string   "iso3166_country_code"
+      t.string   "city"
+      t.string   "name"
+      t.string   "provider_uri"
+      t.string   "submitter_label"
+      t.string   "uri"
+      t.datetime "updated_at"
+      t.string   "monitor_symbol_url"
+      t.datetime "monitor_last_checked"
+      t.string   "monitor_label"
+      t.string   "country"
+      t.string   "submitter_uri"
+      t.string   "monitor_small_symbol_url"
+      t.text     "monitor_message"
+      t.text     "description"
+      t.string   "wsdl"
+      t.datetime "created"
+      t.string   "contributor_type"
+      t.integer  "contributor_id"
+      t.string   "flag_url"
+      t.string   "endpoint"
+      t.string   "provider_label"
+      t.datetime "retrieved_at"
+      t.datetime "created_at"
+    end
+
+    create_table "topic_feedbacks" do |t|
+      t.integer  "score"
+      t.integer  "topic_id"
+      t.datetime "submit_dt"
+      t.integer  "user_id"
+    end
+
+    create_table "topic_runs" do |t|
+      t.datetime "runtime"
+      t.string   "description"
+    end
+
+    create_table "topic_tag_map" do |t|
+      t.integer "topic_id"
+      t.boolean "display_flag"
+      t.integer "tag_id"
+      t.float   "probability"
+    end
+
+    create_table "topic_workflow_map" do |t|
+      t.integer "topic_id"
+      t.boolean "display_flag"
+      t.integer "workflow_id"
+      t.float   "probability"
+    end
+
+    create_table "topics" do |t|
+      t.string  "name"
+      t.integer "orig_run_id"
+      t.integer "run_id"
+    end
+
+    create_table "user_reports" do |t|
+      t.string   "subject_type"
+      t.text     "content"
+      t.integer  "subject_id"
+      t.integer  "user_id"
+      t.text     "report"
+      t.datetime "created_at"
+    end
+
+    create_table "vocabularies" do |t|
+      t.integer  "user_id"
+      t.string   "title"
+      t.text     "description"
+      t.text     "description_html"
+      t.datetime "created_at"
+      t.datetime "updated_at"
+      t.string   "prefix"
+      t.string   "uri"
+    end
+
+    create_table "workflow_processors" do |t|
+      t.string  "name"
+      t.string  "wsdl_operation"
+      t.string  "wsdl"
+      t.integer "workflow_id"
+    end
+  end
+
+  def self.down
+    raise ActiveRecord::IrreversibleMigration 
+  end
+end
+

Modified: trunk/db/migrate/075_add_indexes_to_frequently_used_tables.rb (3258 => 3259)


--- trunk/db/migrate/075_add_indexes_to_frequently_used_tables.rb	2012-12-13 14:10:30 UTC (rev 3258)
+++ trunk/db/migrate/075_add_indexes_to_frequently_used_tables.rb	2012-12-13 15:46:26 UTC (rev 3259)
@@ -5,8 +5,8 @@
 
     add_index :workflow_versions, ["workflow_id"], :name => "workflow_versions_workflow_id_index"
 
-    add_index :contributions, ["contributable_id", "contributable_type"], :name => "contributions_contributable_index"
-    add_index :contributions, ["contributor_id",   "contributor_type"],   :name => "contributions_contributor_index"
+#   add_index :contributions, ["contributable_id", "contributable_type"], :name => "contributions_contributable_index"
+#   add_index :contributions, ["contributor_id",   "contributor_type"],   :name => "contributions_contributor_index"
 
     add_index :memberships, ["user_id"],    :name => "memberships_user_id_index"
     add_index :memberships, ["network_id"], :name => "memberships_network_id_index"
@@ -25,8 +25,8 @@
 
     remove_index :workflow_versions, :name => "workflow_versions_workflow_id_index"
 
-    remove_index :contributions, :name => "contributions_contributable_index"
-    remove_index :contributions, :name => "contributions_contributor_index"
+#   remove_index :contributions, :name => "contributions_contributable_index"
+#   remove_index :contributions, :name => "contributions_contributor_index"
 
     remove_index :memberships, :name => "memberships_user_id_index"
     remove_index :memberships, :name => "memberships_network_id_index"

Modified: trunk/db/migrate/086_rename_indexes_to_automatic_names.rb (3258 => 3259)


--- trunk/db/migrate/086_rename_indexes_to_automatic_names.rb	2012-12-13 14:10:30 UTC (rev 3258)
+++ trunk/db/migrate/086_rename_indexes_to_automatic_names.rb	2012-12-13 15:46:26 UTC (rev 3259)
@@ -7,8 +7,8 @@
   def self.up
     remove_index "bookmarks",         :name => "fk_bookmarks_user"
     remove_index "comments",          :name => "fk_comments_user"
-    remove_index "contributions",     :name => "contributions_contributable_index"
-    remove_index "contributions",     :name => "contributions_contributor_index"
+#   remove_index "contributions",     :name => "contributions_contributable_index"
+#   remove_index "contributions",     :name => "contributions_contributor_index"
     remove_index "friendships",       :name => "friendships_friend_id_index"
     remove_index "friendships",       :name => "friendships_user_id_index"
     remove_index "memberships",       :name => "memberships_network_id_index"

Modified: trunk/db/schema.rb (3258 => 3259)


--- trunk/db/schema.rb	2012-12-13 14:10:30 UTC (rev 3258)
+++ trunk/db/schema.rb	2012-12-13 15:46:26 UTC (rev 3259)
@@ -40,11 +40,6 @@
     t.datetime "updated_at"
   end
 
-  create_table "auto_tables", :force => true do |t|
-    t.string "name"
-    t.text   "schema"
-  end
-
   create_table "blob_versions", :force => true do |t|
     t.integer  "blob_id"
     t.integer  "version"
@@ -144,17 +139,17 @@
   add_index "comments", ["user_id"], :name => "index_comments_on_user_id"
 
   create_table "concept_relations", :force => true do |t|
-    t.string  "relation_type"
     t.integer "subject_concept_id"
+    t.string  "relation_type"
     t.integer "object_concept_id"
   end
 
   create_table "concepts", :force => true do |t|
-    t.string   "phrase"
     t.datetime "updated_at"
     t.text     "description_html"
-    t.integer  "vocabulary_id"
+    t.string   "phrase"
     t.text     "description"
+    t.integer  "vocabulary_id"
     t.datetime "created_at"
   end
 
@@ -168,34 +163,34 @@
   add_index "content_blobs", ["sha1"], :name => "index_content_blobs_on_sha1"
 
   create_table "content_types", :force => true do |t|
-    t.string   "category"
-    t.string   "mime_type"
-    t.datetime "updated_at"
-    t.text     "description_html"
     t.integer  "user_id"
     t.string   "title"
     t.text     "description"
+    t.text     "description_html"
+    t.string   "mime_type"
     t.datetime "created_at"
+    t.datetime "updated_at"
+    t.string   "category"
   end
 
   create_table "contributions", :force => true do |t|
-    t.integer  "site_downloads_count", :default => 0
-    t.float    "rating"
-    t.string   "contributable_type"
+    t.integer  "contributor_id"
+    t.string   "contributor_type"
     t.integer  "contributable_id"
-    t.integer  "content_type_id"
-    t.integer  "site_viewings_count",  :default => 0
-    t.integer  "viewings_count",       :default => 0
+    t.string   "contributable_type"
+    t.integer  "policy_id"
+    t.datetime "created_at"
     t.datetime "updated_at"
-    t.string   "contributor_type"
     t.integer  "downloads_count",      :default => 0
+    t.integer  "viewings_count",       :default => 0
+    t.float    "rating"
+    t.float    "rank"
+    t.integer  "content_type_id"
+    t.integer  "license_id"
+    t.integer  "site_downloads_count", :default => 0
+    t.integer  "site_viewings_count",  :default => 0
     t.string   "label"
     t.string   "layout"
-    t.integer  "policy_id"
-    t.integer  "license_id"
-    t.float    "rank"
-    t.integer  "contributor_id"
-    t.datetime "created_at"
   end
 
   add_index "contributions", ["contributable_id", "contributable_type"], :name => "index_contributions_on_contributable_id_and_contributable_type"
@@ -228,12 +223,12 @@
   end
 
   create_table "downloads", :force => true do |t|
-    t.integer  "user_id"
-    t.string   "kind"
     t.integer  "contribution_id"
-    t.boolean  "accessed_from_site", :default => false
-    t.string   "user_agent"
+    t.integer  "user_id"
     t.datetime "created_at"
+    t.string   "user_agent"
+    t.boolean  "accessed_from_site", :default => false
+    t.string   "kind"
   end
 
   add_index "downloads", ["contribution_id"], :name => "index_downloads_on_contribution_id"
@@ -308,8 +303,8 @@
   create_table "labels", :force => true do |t|
     t.integer "concept_id"
     t.string  "language"
-    t.integer "vocabulary_id"
     t.string  "text"
+    t.integer "vocabulary_id"
     t.string  "label_type"
   end
 
@@ -405,38 +400,38 @@
   add_index "oauth_tokens", ["token"], :name => "index_oauth_tokens_on_token", :unique => true
 
   create_table "ontologies", :force => true do |t|
+    t.string   "prefix"
     t.datetime "updated_at"
-    t.text     "description_html"
-    t.integer  "user_id"
-    t.string   "title"
     t.string   "uri"
+    t.string   "title"
+    t.text     "description_html"
     t.text     "description"
+    t.integer  "user_id"
     t.datetime "created_at"
-    t.string   "prefix"
   end
 
   create_table "pack_contributable_entries", :force => true do |t|
-    t.string   "contributable_type"
-    t.integer  "contributable_id",      :null => false
     t.integer  "pack_id",               :null => false
-    t.datetime "updated_at"
+    t.integer  "contributable_id",      :null => false
     t.integer  "contributable_version"
-    t.integer  "user_id",               :null => false
+    t.string   "contributable_type"
     t.text     "comment"
-    t.integer  "version"
+    t.integer  "user_id",               :null => false
     t.datetime "created_at"
+    t.datetime "updated_at"
+    t.integer  "version"
   end
 
   create_table "pack_remote_entries", :force => true do |t|
     t.integer  "pack_id",       :null => false
-    t.datetime "updated_at"
-    t.integer  "user_id",       :null => false
-    t.string   "alternate_uri"
-    t.string   "uri"
     t.string   "title"
+    t.string   "uri"
+    t.string   "alternate_uri"
     t.text     "comment"
-    t.integer  "version"
+    t.integer  "user_id",       :null => false
     t.datetime "created_at"
+    t.datetime "updated_at"
+    t.integer  "version"
   end
 
   create_table "pack_versions", :force => true do |t|
@@ -451,14 +446,14 @@
   end
 
   create_table "packs", :force => true do |t|
-    t.datetime "updated_at"
+    t.integer  "contributor_id"
     t.string   "contributor_type"
-    t.text     "description_html"
-    t.integer  "current_version"
     t.string   "title"
     t.text     "description"
-    t.integer  "contributor_id"
+    t.text     "description_html"
     t.datetime "created_at"
+    t.datetime "updated_at"
+    t.integer  "current_version"
   end
 
   create_table "pending_invitations", :force => true do |t|
@@ -496,32 +491,32 @@
   end
 
   create_table "policies", :force => true do |t|
+    t.integer  "contributor_id"
+    t.string   "contributor_type"
     t.string   "name"
-    t.integer  "share_mode"
+    t.datetime "created_at"
     t.datetime "updated_at"
-    t.string   "contributor_type"
+    t.integer  "share_mode"
     t.integer  "update_mode"
     t.boolean  "public_download",  :default => false
     t.boolean  "public_view",      :default => false
-    t.integer  "contributor_id"
-    t.datetime "created_at"
   end
 
   create_table "predicates", :force => true do |t|
-    t.string   "phrase"
     t.datetime "updated_at"
-    t.text     "equivalent_to"
+    t.string   "title"
     t.text     "description_html"
+    t.string   "phrase"
     t.integer  "ontology_id"
-    t.string   "title"
     t.text     "description"
+    t.text     "equivalent_to"
     t.datetime "created_at"
   end
 
   create_table "previews", :force => true do |t|
+    t.integer  "svg_blob_id"
     t.integer  "image_blob_id"
     t.datetime "created_at"
-    t.integer  "svg_blob_id"
   end
 
   create_table "profiles", :force => true do |t|
@@ -555,15 +550,15 @@
   add_index "ratings", ["user_id"], :name => "index_ratings_on_user_id"
 
   create_table "relationships", :force => true do |t|
-    t.string   "context_type"
-    t.integer  "context_id"
+    t.string   "objekt_type"
+    t.integer  "objekt_id"
     t.string   "subject_type"
     t.integer  "subject_id"
-    t.integer  "predicate_id"
     t.integer  "user_id"
-    t.integer  "objekt_id"
-    t.string   "objekt_type"
     t.datetime "created_at"
+    t.integer  "context_id"
+    t.integer  "predicate_id"
+    t.string   "context_type"
   end
 
   create_table "remote_workflows", :force => true do |t|
@@ -593,83 +588,83 @@
   end
 
   create_table "service_categories", :force => true do |t|
-    t.datetime "updated_at"
-    t.datetime "retrieved_at"
-    t.string   "label"
     t.string   "uri"
+    t.datetime "updated_at"
     t.integer  "service_id"
+    t.string   "label"
+    t.datetime "retrieved_at"
     t.datetime "created_at"
   end
 
   create_table "service_deployments", :force => true do |t|
-    t.string   "endpoint"
-    t.datetime "created"
-    t.string   "submitter_uri"
     t.string   "iso3166_country_code"
+    t.string   "city"
     t.string   "submitter_label"
-    t.string   "flag_url"
+    t.string   "uri"
     t.datetime "updated_at"
+    t.string   "submitter_uri"
     t.string   "country"
-    t.string   "city"
-    t.datetime "retrieved_at"
-    t.integer  "service_provider_id"
-    t.string   "uri"
     t.integer  "service_id"
+    t.datetime "created"
+    t.integer  "service_provider_id"
+    t.string   "flag_url"
+    t.string   "endpoint"
+    t.datetime "retrieved_at"
     t.datetime "created_at"
   end
 
   create_table "service_providers", :force => true do |t|
-    t.datetime "created"
     t.string   "name"
-    t.datetime "updated_at"
-    t.datetime "retrieved_at"
     t.string   "uri"
+    t.datetime "updated_at"
     t.text     "description"
+    t.datetime "created"
+    t.datetime "retrieved_at"
     t.datetime "created_at"
   end
 
   create_table "service_tags", :force => true do |t|
-    t.datetime "updated_at"
-    t.datetime "retrieved_at"
-    t.string   "label"
     t.string   "uri"
+    t.datetime "updated_at"
     t.integer  "service_id"
+    t.string   "label"
+    t.datetime "retrieved_at"
     t.datetime "created_at"
   end
 
   create_table "service_types", :force => true do |t|
     t.datetime "updated_at"
-    t.datetime "retrieved_at"
-    t.string   "label"
     t.integer  "service_id"
+    t.string   "label"
+    t.datetime "retrieved_at"
     t.datetime "created_at"
   end
 
   create_table "services", :force => true do |t|
-    t.string   "endpoint"
-    t.string   "provider_label"
-    t.string   "monitor_label"
+    t.string   "documentation_uri"
     t.string   "iso3166_country_code"
-    t.string   "wsdl"
-    t.string   "submitter_uri"
-    t.datetime "created"
+    t.string   "city"
     t.string   "name"
-    t.string   "monitor_small_symbol_url"
-    t.string   "documentation_uri"
+    t.string   "provider_uri"
     t.string   "submitter_label"
-    t.datetime "monitor_last_checked"
-    t.string   "flag_url"
+    t.string   "uri"
     t.datetime "updated_at"
-    t.string   "contributor_type"
-    t.text     "monitor_message"
+    t.string   "monitor_symbol_url"
+    t.datetime "monitor_last_checked"
+    t.string   "monitor_label"
     t.string   "country"
-    t.string   "city"
-    t.datetime "retrieved_at"
-    t.string   "uri"
+    t.string   "submitter_uri"
+    t.string   "monitor_small_symbol_url"
+    t.text     "monitor_message"
     t.text     "description"
+    t.string   "wsdl"
+    t.datetime "created"
+    t.string   "contributor_type"
     t.integer  "contributor_id"
-    t.string   "monitor_symbol_url"
-    t.string   "provider_uri"
+    t.string   "flag_url"
+    t.string   "endpoint"
+    t.string   "provider_label"
+    t.datetime "retrieved_at"
     t.datetime "created_at"
   end
 
@@ -733,15 +728,15 @@
   end
 
   create_table "topic_tag_map", :force => true do |t|
-    t.boolean "display_flag"
     t.integer "topic_id"
+    t.boolean "display_flag"
     t.integer "tag_id"
     t.float   "probability"
   end
 
   create_table "topic_workflow_map", :force => true do |t|
-    t.boolean "display_flag"
     t.integer "topic_id"
+    t.boolean "display_flag"
     t.integer "workflow_id"
     t.float   "probability"
   end
@@ -753,8 +748,8 @@
   end
 
   create_table "user_reports", :force => true do |t|
-    t.text     "content"
     t.string   "subject_type"
+    t.text     "content"
     t.integer  "subject_id"
     t.integer  "user_id"
     t.text     "report"
@@ -796,14 +791,14 @@
   add_index "viewings", ["contribution_id"], :name => "index_viewings_on_contribution_id"
 
   create_table "vocabularies", :force => true do |t|
-    t.datetime "updated_at"
-    t.text     "description_html"
     t.integer  "user_id"
     t.string   "title"
-    t.string   "uri"
     t.text     "description"
+    t.text     "description_html"
     t.datetime "created_at"
+    t.datetime "updated_at"
     t.string   "prefix"
+    t.string   "uri"
   end
 
   create_table "workflow_ports", :force => true do |t|
@@ -813,9 +808,9 @@
   end
 
   create_table "workflow_processors", :force => true do |t|
+    t.string  "name"
     t.string  "wsdl_operation"
     t.string  "wsdl"
-    t.string  "name"
     t.integer "workflow_id"
   end
 

Deleted: trunk/lib/tasks/structured_data_tasks.rake (3258 => 3259)


--- trunk/lib/tasks/structured_data_tasks.rake	2012-12-13 14:10:30 UTC (rev 3258)
+++ trunk/lib/tasks/structured_data_tasks.rake	2012-12-13 15:46:26 UTC (rev 3259)
@@ -1,4 +0,0 @@
-# desc "Explaining what the task does"
-# task :structured_data do
-#   # Task goes here
-# end

reply via email to

[Prev in Thread] Current Thread [Next in Thread]