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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2014-12-31 16:07:48 +0300
committerValery Sizov <valery@gitlab.com>2015-01-10 20:51:43 +0300
commita9f7fd2c1a7052247333b89f6a22a883b480370d (patch)
treea7321e528f9ac10f0e8f8f591dca6a4c83f09b9a /db
parentd02a22ba21f91d2aa4f9cf716dc3aefcf7e7495e (diff)
Github Importer
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20141223135007_add_import_data_to_project_table.rb8
-rw-r--r--db/schema.rb5
2 files changed, 12 insertions, 1 deletions
diff --git a/db/migrate/20141223135007_add_import_data_to_project_table.rb b/db/migrate/20141223135007_add_import_data_to_project_table.rb
new file mode 100644
index 00000000000..5db78f94cc9
--- /dev/null
+++ b/db/migrate/20141223135007_add_import_data_to_project_table.rb
@@ -0,0 +1,8 @@
+class AddImportDataToProjectTable < ActiveRecord::Migration
+ def change
+ add_column :projects, :import_type, :string
+ add_column :projects, :import_source, :string
+
+ add_column :users, :github_access_token, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index cb945e71665..b87b7d05509 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -314,6 +314,8 @@ ActiveRecord::Schema.define(version: 20141226080412) do
t.string "import_status"
t.float "repository_size", default: 0.0
t.integer "star_count", default: 0, null: false
+ t.string "import_type"
+ t.string "import_source"
end
add_index "projects", ["creator_id"], name: "index_projects_on_creator_id", using: :btree
@@ -411,6 +413,7 @@ ActiveRecord::Schema.define(version: 20141226080412) do
t.integer "notification_level", default: 1, null: false
t.datetime "password_expires_at"
t.integer "created_by_id"
+ t.datetime "last_credential_check_at"
t.string "avatar"
t.string "confirmation_token"
t.datetime "confirmed_at"
@@ -418,7 +421,7 @@ ActiveRecord::Schema.define(version: 20141226080412) do
t.string "unconfirmed_email"
t.boolean "hide_no_ssh_key", default: false
t.string "website_url", default: "", null: false
- t.datetime "last_credential_check_at"
+ t.string "github_access_token"
end
add_index "users", ["admin"], name: "index_users_on_admin", using: :btree