Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-06-10 01:50:30 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-06-10 02:01:09 +0400
commit6d5169d7071e27b3e18376b4c7129f4e5dbfe69d (patch)
treeb6635de7f902c9da1c7834fbfe3f4283bb77aa69 /db
parent775dbda2b28f7a9323fc2dd6afd9bd7bfb975c8a (diff)
Chubbies is working with local diaspora-client gem
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20110526184644_add_oauth2_tables.rb1
-rw-r--r--db/schema.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/db/migrate/20110526184644_add_oauth2_tables.rb b/db/migrate/20110526184644_add_oauth2_tables.rb
index 7d20f7418..4d6b87fe4 100644
--- a/db/migrate/20110526184644_add_oauth2_tables.rb
+++ b/db/migrate/20110526184644_add_oauth2_tables.rb
@@ -5,6 +5,7 @@ class AddOauth2Tables < ActiveRecord::Migration
t.string 'oauth_identifier', :limit => 32, :null => false
t.string 'oauth_secret', :limit => 32, :null => false
end
+ add_index :oauth_clients, :name, :unique => true
create_table 'oauth_authorization_codes', :force => true do |t|
t.integer 'authorization_id', :null => false
diff --git a/db/schema.rb b/db/schema.rb
index 9f7bfa013..2799dbc43 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -230,6 +230,8 @@ ActiveRecord::Schema.define(:version => 20110603212633) do
t.string "icon_url"
end
+ add_index "oauth_clients", ["name"], :name => "index_oauth_clients_on_name", :unique => true
+
create_table "people", :force => true do |t|
t.string "guid", :null => false
t.text "url", :null => false