diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-24 11:26:48 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-24 11:26:48 +0200 |
commit | d9f05306b617f7079b468bf98e6a7ff466ccc1d2 (patch) | |
tree | 8c6342e0e877fa4b26c7a8f3324c86a74ae57041 | |
parent | 5771972e8ca2a7ad06445ee539054b23cf228de8 (diff) | |
download | gitlab-ce-d9f05306b617f7079b468bf98e6a7ff466ccc1d2.tar.gz |
Use smallint for stage index column
-rw-r--r-- | db/migrate/20180417101940_add_index_to_ci_stage.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20180417101940_add_index_to_ci_stage.rb b/db/migrate/20180417101940_add_index_to_ci_stage.rb index f14bbe458ae..ee574ddf2ce 100644 --- a/db/migrate/20180417101940_add_index_to_ci_stage.rb +++ b/db/migrate/20180417101940_add_index_to_ci_stage.rb @@ -4,6 +4,6 @@ class AddIndexToCiStage < ActiveRecord::Migration DOWNTIME = false def change - add_column :ci_stages, :index, :integer + add_column :ci_stages, :index, :integer, limit: 2 end end |