myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3478] trunk/db/migrate: missing migrations for o


From: noreply
Subject: [myexperiment-hackers] [3478] trunk/db/migrate: missing migrations for oauth fix
Date: Tue, 12 Mar 2013 09:37:29 +0000 (UTC)

Revision
3478
Author
fbacall
Date
2013-03-12 09:37:29 +0000 (Tue, 12 Mar 2013)

Log Message

missing migrations for oauth fix

Added Paths

Diff

Added: trunk/db/migrate/20130308084600_remove_key_type_from_client_applications.rb (0 => 3478)


--- trunk/db/migrate/20130308084600_remove_key_type_from_client_applications.rb	                        (rev 0)
+++ trunk/db/migrate/20130308084600_remove_key_type_from_client_applications.rb	2013-03-12 09:37:29 UTC (rev 3478)
@@ -0,0 +1,9 @@
+class RemoveKeyTypeFromClientApplications < ActiveRecord::Migration
+  def self.up
+    remove_column :client_applications, :key_type
+  end
+
+  def self.down
+    add_column :client_applications, :key_type, :string
+  end
+end

Added: trunk/db/migrate/20130308085716_remove_creator_id_from_client_applications.rb (0 => 3478)


--- trunk/db/migrate/20130308085716_remove_creator_id_from_client_applications.rb	                        (rev 0)
+++ trunk/db/migrate/20130308085716_remove_creator_id_from_client_applications.rb	2013-03-12 09:37:29 UTC (rev 3478)
@@ -0,0 +1,9 @@
+class RemoveCreatorIdFromClientApplications < ActiveRecord::Migration
+  def self.up
+    remove_column :client_applications, :creator_id
+  end
+
+  def self.down
+    add_column :client_applications, :creator_id, :integer
+  end
+end

reply via email to

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