diff options
author | danielgrippi <danielgrippi@gmail.com> | 2011-06-03 03:28:03 +0400 |
---|---|---|
committer | Maxwell Salzberg <maxwell@joindiaspora.com> | 2011-06-04 03:24:12 +0400 |
commit | 01edfeee032a9c5bfe97f70c3f0790fbc9916fd6 (patch) | |
tree | e89c3c498e892d760206b3a6443d9db9d01389c3 /db | |
parent | e121b0fe6d1e663e5688d88ad191e0092f66094d (diff) |
Chubbies now sends manifest data to create a client
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20110602224152_diaspora_o_auth_client_fields.rb | 13 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20110602224152_diaspora_o_auth_client_fields.rb b/db/migrate/20110602224152_diaspora_o_auth_client_fields.rb new file mode 100644 index 000000000..184c1bd0c --- /dev/null +++ b/db/migrate/20110602224152_diaspora_o_auth_client_fields.rb @@ -0,0 +1,13 @@ +class DiasporaOAuthClientFields < ActiveRecord::Migration + def self.up + add_column :oauth_clients, :description, :text + add_column :oauth_clients, :homepage_url, :string + add_column :oauth_clients, :icon_url, :string + end + + def self.down + remove_column :oauth_clients, :icon_url + remove_column :oauth_clients, :homepage_url + remove_column :oauth_clients, :description + end +end diff --git a/db/schema.rb b/db/schema.rb index 78a15252d..9f7bfa013 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -225,6 +225,9 @@ ActiveRecord::Schema.define(:version => 20110603212633) do t.string "name" t.string "oauth_identifier", :limit => 32, :null => false t.string "oauth_secret", :limit => 32, :null => false + t.text "description" + t.string "homepage_url" + t.string "icon_url" end create_table "people", :force => true do |t| |