aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-03-12 16:07:13 +0000
committerfrancis <francis>2008-03-12 16:07:13 +0000
commit938306b88df6c6734566ea7995bf92da9862efc4 (patch)
treefb33992562f3f1cff0f83e00207d7472b844f074 /db/schema.rb
parentfacda1bfffb9d91da6a2f2e22b2345590e452f96 (diff)
Make users all have their own URL, rather than sharing if they have the same name.
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 49eec890b..00c77b946 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -9,7 +9,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 41) do
+ActiveRecord::Schema.define(:version => 42) do
create_table "incoming_messages", :force => true do |t|
t.integer "info_request_id", :null => false
@@ -134,6 +134,6 @@ ActiveRecord::Schema.define(:version => 41) do
t.text "url_name", :null => false
end
- add_index "users", ["url_name"], :name => "index_users_on_url_name"
+ add_index "users", ["url_name"], :name => "index_users_on_url_name", :unique => true
end