2020-05-24 23:13:21 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class AddContainerRegistryFeaturesToApplicationSettings < ActiveRecord::Migration[6.0]
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
2020-06-23 00:09:42 +05:30
|
|
|
add_column :application_settings, :container_registry_features, :text, array: true, default: [], null: false
|
2020-05-24 23:13:21 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :application_settings, :container_registry_features
|
|
|
|
end
|
|
|
|
end
|