diaspora/db/migrate/20150613202109_create_o_auth_applications.rb
theworldbright 99d6d7b3e7 Add pairwise pseudonymous identifier support
Squashed commits:

[a182de7] Fix pronto/travis errors
2016-01-04 16:49:51 +09:00

24 lines
629 B
Ruby

class CreateOAuthApplications < ActiveRecord::Migration
def change
create_table :o_auth_applications do |t|
t.belongs_to :user, index: true
t.string :client_id
t.string :client_secret
t.string :client_name
t.string :redirect_uris
t.string :response_types
t.string :grant_types
t.string :application_type, default: "web"
t.string :contacts
t.string :logo_uri
t.string :client_uri
t.string :policy_uri
t.string :tos_uri
t.string :sector_identifier_uri
t.boolean :ppid, default: false
t.timestamps null: false
end
end
end