projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moved api server code into new directory structure
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20130123174514_add_uuid_index_to_users.rb
diff --git a/services/api/db/migrate/20130123174514_add_uuid_index_to_users.rb
b/services/api/db/migrate/20130123174514_add_uuid_index_to_users.rb
new file mode 100644
(file)
index 0000000..
f21d5e4
--- /dev/null
+++ b/
services/api/db/migrate/20130123174514_add_uuid_index_to_users.rb
@@ -0,0
+1,5
@@
+class AddUuidIndexToUsers < ActiveRecord::Migration
+ def change
+ add_index :users, :uuid, :unique => true
+ end
+end