diff options
author | Valery Sizov <valery@gitlab.com> | 2015-01-27 15:37:19 -0800 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-01-28 15:57:31 -0800 |
commit | 54f6d8c7b5a1c67a222011c35ad70909da0e686d (patch) | |
tree | f8befddb79b6c6ab5a957d4ff2705f582bbe23ab /db | |
parent | 1718075a02a0774029f3739be5b0717bc9224a04 (diff) | |
download | gitlab-ce-54f6d8c7b5a1c67a222011c35ad70909da0e686d.tar.gz |
an ability to clone project with oauth2 token
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20150116234545_add_gitlab_access_token_to_user.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20150116234545_add_gitlab_access_token_to_user.rb b/db/migrate/20150116234545_add_gitlab_access_token_to_user.rb new file mode 100644 index 00000000000..c28ba3197ac --- /dev/null +++ b/db/migrate/20150116234545_add_gitlab_access_token_to_user.rb @@ -0,0 +1,5 @@ +class AddGitlabAccessTokenToUser < ActiveRecord::Migration + def change + add_column :users, :gitlab_access_token, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 29466f048eb..3f9ceb84e5d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150116234544) do +ActiveRecord::Schema.define(version: 20150116234545) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -434,6 +434,7 @@ ActiveRecord::Schema.define(version: 20150116234544) do t.string "website_url", default: "", null: false t.datetime "last_credential_check_at" t.string "github_access_token" + t.string "gitlab_access_token" end add_index "users", ["admin"], name: "index_users_on_admin", using: :btree |