discourse/db/migrate/20190704133453_create_backup_metadata.rb
Gerhard Schlager a65a9a85d5 FEATURE: Remap uploads during restore when S3 or CDN changes
In order for this to work the Backuper stores a couple of site settings
in the new backup_metadata table, because the old setting values might
not be available on restore anymore.
2019-07-09 14:04:16 +02:00

11 lines
217 B
Ruby

# frozen_string_literal: true
class CreateBackupMetadata < ActiveRecord::Migration[5.2]
def change
create_table :backup_metadata do |t|
t.string :name, null: false
t.string :value
end
end
end