summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-12-05 17:32:16 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-12-05 17:32:16 -0200
commit6d8da390d6eafbc37347f2578b2531d0712fca63 (patch)
tree725a76bf1a0c47af5895a4ee742f9b1c87f612b6
parent90938e4b1745692e543df4f3defa596ffb33d441 (diff)
downloadgitlab-ce-feature/users-should-be-able-to-cancel-the-import.tar.gz
Add jid column to the project_import_data tablefeature/users-should-be-able-to-cancel-the-import
-rw-r--r--db/migrate/20161205193005_add_jid_to_project_import_data.rb9
-rw-r--r--db/schema.rb3
2 files changed, 11 insertions, 1 deletions
diff --git a/db/migrate/20161205193005_add_jid_to_project_import_data.rb b/db/migrate/20161205193005_add_jid_to_project_import_data.rb
new file mode 100644
index 00000000000..f7bb692f7fa
--- /dev/null
+++ b/db/migrate/20161205193005_add_jid_to_project_import_data.rb
@@ -0,0 +1,9 @@
+class AddJidToProjectImportData < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :project_import_data, :jid, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 0d510c8a269..c9cd91a2bea 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: 20161128161412) do
+ActiveRecord::Schema.define(version: 20161205193005) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -892,6 +892,7 @@ ActiveRecord::Schema.define(version: 20161128161412) do
t.text "encrypted_credentials"
t.string "encrypted_credentials_iv"
t.string "encrypted_credentials_salt"
+ t.string "jid"
end
add_index "project_import_data", ["project_id"], name: "index_project_import_data_on_project_id", using: :btree