myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3195] branches/wf4ever/db: added ro_uri columns


From: noreply
Subject: [myexperiment-hackers] [3195] branches/wf4ever/db: added ro_uri columns to workflows, files and packs
Date: Fri, 23 Nov 2012 11:27:46 +0000 (UTC)

Revision
3195
Author
dgc
Date
2012-11-23 11:27:46 +0000 (Fri, 23 Nov 2012)

Log Message

added ro_uri columns to workflows, files and packs

Modified Paths

Added Paths

Diff

Added: branches/wf4ever/db/migrate/20121113162639_add_ro_uri.rb (0 => 3195)


--- branches/wf4ever/db/migrate/20121113162639_add_ro_uri.rb	                        (rev 0)
+++ branches/wf4ever/db/migrate/20121113162639_add_ro_uri.rb	2012-11-23 11:27:46 UTC (rev 3195)
@@ -0,0 +1,13 @@
+class AddRoUri < ActiveRecord::Migration
+  def self.up
+    add_column :workflows, :ro_uri, :text
+    add_column :blobs,     :ro_uri, :text
+    add_column :packs,     :ro_uri, :text
+  end
+
+  def self.down
+    remove_column :workflows, :ro_uri
+    remove_column :blobs,     :ro_uri
+    remove_column :packs,     :ro_uri
+  end
+end

Modified: branches/wf4ever/db/schema.rb (3194 => 3195)


--- branches/wf4ever/db/schema.rb	2012-11-23 11:27:13 UTC (rev 3194)
+++ branches/wf4ever/db/schema.rb	2012-11-23 11:27:46 UTC (rev 3195)
@@ -9,7 +9,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20120921144930) do
+ActiveRecord::Schema.define(:version => 20121113162639) do
 
   create_table "activity_limits", :force => true do |t|
     t.string   "contributor_type", :null => false
@@ -72,6 +72,7 @@
     t.string   "contributor_type"
     t.integer  "license_id"
     t.integer  "current_version"
+    t.text     "ro_uri"
   end
 
   create_table "blog_posts", :force => true do |t|
@@ -439,6 +440,7 @@
     t.integer  "contributor_id"
     t.datetime "created_at"
     t.string   "contributor_type"
+    t.text     "ro_uri"
   end
 
   create_table "pending_invitations", :force => true do |t|
@@ -674,6 +676,7 @@
     t.string   "objekt_text"
     t.datetime "created_at"
     t.datetime "updated_at"
+    t.text     "context_uri"
   end
 
   create_table "taggings", :force => true do |t|
@@ -849,6 +852,7 @@
     t.string   "contributor_type"
     t.string   "last_edited_by"
     t.integer  "license_id"
+    t.text     "ro_uri"
   end
 
 end

reply via email to

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