diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2019-01-03 14:41:53 +0100 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2019-01-04 11:49:13 +0100 |
commit | 9275e1dfbfbb5cdeeb72ca429a5323c1d471af39 (patch) | |
tree | 5f761d6fc3f03ed29af8e35f3da81fb82f126129 /db/migrate | |
parent | 147f740730b63dbdd4c457bb3a783510d225d73b (diff) | |
download | gitlab-ce-9275e1dfbfbb5cdeeb72ca429a5323c1d471af39.tar.gz |
Make RBAC enabled default for new clusters
Many changes were also made to tests that expected this to default to
false.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190103140724_make_legacy_false_default.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20190103140724_make_legacy_false_default.rb b/db/migrate/20190103140724_make_legacy_false_default.rb new file mode 100644 index 00000000000..154035f76cd --- /dev/null +++ b/db/migrate/20190103140724_make_legacy_false_default.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class MakeLegacyFalseDefault < ActiveRecord::Migration[5.0] + DOWNTIME = false + + def change + change_column_default :cluster_providers_gcp, :legacy_abac, from: true, to: false + end +end |