You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by as...@apache.org on 2008/05/10 02:15:39 UTC
svn commit: r654986 -
/ode/sandbox/singleshot/db/migrate/20080506015119_stakeholders.rb
Author: assaf
Date: Fri May 9 17:15:39 2008
New Revision: 654986
URL: http://svn.apache.org/viewvc?rev=654986&view=rev
Log:
Switched to timestamp migration.
Modified:
ode/sandbox/singleshot/db/migrate/20080506015119_stakeholders.rb
Modified: ode/sandbox/singleshot/db/migrate/20080506015119_stakeholders.rb
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/db/migrate/20080506015119_stakeholders.rb?rev=654986&r1=654985&r2=654986&view=diff
==============================================================================
--- ode/sandbox/singleshot/db/migrate/20080506015119_stakeholders.rb (original)
+++ ode/sandbox/singleshot/db/migrate/20080506015119_stakeholders.rb Fri May 9 17:15:39 2008
@@ -3,7 +3,7 @@
create_table :stakeholders do |t|
t.integer :task_id, :null=>false
t.integer :person_id, :null=>false
- t.integer :role, :null=>false, :limit=>2
+ t.string :role, :null=>false
t.timestamps
end
add_index :stakeholders, [:task_id, :person_id, :role], :unique=>true