diff options
Diffstat (limited to 'db/migrate/20190711200053_change_deploy_tokens_token_not_null.rb')
-rw-r--r-- | db/migrate/20190711200053_change_deploy_tokens_token_not_null.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20190711200053_change_deploy_tokens_token_not_null.rb b/db/migrate/20190711200053_change_deploy_tokens_token_not_null.rb new file mode 100644 index 00000000000..14ccf544d0b --- /dev/null +++ b/db/migrate/20190711200053_change_deploy_tokens_token_not_null.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class ChangeDeployTokensTokenNotNull < ActiveRecord::Migration[5.1] + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + change_column_null :deploy_tokens, :token, true + end +end |