mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 19:23:37 +08:00
a65a9a85d5
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.
11 lines
217 B
Ruby
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
|