diff options
-rw-r--r-- | db/migrate/20161205193005_add_jid_to_project_import_data.rb | 9 | ||||
-rw-r--r-- | db/schema.rb | 3 |
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 |