diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-04-06 19:01:59 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-04-06 19:01:59 +0900 |
commit | 7dc7487a23ebab1164673dbccbb1ade0771a388e (patch) | |
tree | 14d5333ab7cc6ae07287f5ccf51ea96433247c12 | |
parent | 0ec92487c8a1a0b94d8ff7a7f71101e1c3c56057 (diff) | |
download | gitlab-ce-live-trace-v2-mysql-mediumtext-test.tar.gz |
Decouple migration filelive-trace-v2-mysql-mediumtext-test
-rw-r--r-- | db/migrate/20180406202229_change_ci_job_trace_chunks_raw_data.rb | 10 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/db/migrate/20180406202229_change_ci_job_trace_chunks_raw_data.rb b/db/migrate/20180406202229_change_ci_job_trace_chunks_raw_data.rb new file mode 100644 index 00000000000..980034be198 --- /dev/null +++ b/db/migrate/20180406202229_change_ci_job_trace_chunks_raw_data.rb @@ -0,0 +1,10 @@ +class ChangeCiJobTraceChunksRawData < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + + change_column :ci_job_trace_chunks, :raw_data, :text, limit: 2147483647 + end +end diff --git a/db/schema.rb b/db/schema.rb index 66e86a819be..5c5f668cd4e 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: 20180405101928) do +ActiveRecord::Schema.define(version: 20180406202229) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" |