diff options
author | Rémy Coutable <remy@rymai.me> | 2018-01-18 12:18:47 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-01-18 12:18:47 +0100 |
commit | f48142d2cfe237d961f9876aec3fff3718079749 (patch) | |
tree | 3adab7c27133f22c360ff11b49af4d5c8bca46d5 | |
parent | 2af0b083c6791f50681a1afdae3d59e703c693b5 (diff) | |
download | gitlab-ce-42172-deprecation-warning-timestamps-was-called-without-specifying-an-option-for-null-in-rails-5-this-behavior-will-change-to-null-false.tar.gz |
Get rid of a Rails 5 deprecation warning in db/migrate/20170425112128_create_pipeline_schedules_table.rb42172-deprecation-warning-timestamps-was-called-without-specifying-an-option-for-null-in-rails-5-this-behavior-will-change-to-null-false
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r-- | db/migrate/20170425112128_create_pipeline_schedules_table.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170425112128_create_pipeline_schedules_table.rb b/db/migrate/20170425112128_create_pipeline_schedules_table.rb index 57df47f5f42..90139660ea8 100644 --- a/db/migrate/20170425112128_create_pipeline_schedules_table.rb +++ b/db/migrate/20170425112128_create_pipeline_schedules_table.rb @@ -17,7 +17,7 @@ class CreatePipelineSchedulesTable < ActiveRecord::Migration t.boolean :active, default: true t.datetime :deleted_at - t.timestamps + t.timestamps, null: true end add_index(:ci_pipeline_schedules, :project_id) |