14 lines
408 B
Ruby
14 lines
408 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class AddContainerRegistryFeaturesToApplicationSettings < ActiveRecord::Migration[6.0]
|
||
|
DOWNTIME = false
|
||
|
|
||
|
def up
|
||
|
add_column :application_settings, :container_registry_features, :text, array: true, default: [], null: false # rubocop:disable Migration/AddLimitToTextColumns
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
remove_column :application_settings, :container_registry_features
|
||
|
end
|
||
|
end
|