mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 00:25:31 +08:00
![Gerhard Schlager](/assets/img/avatar_default.png)
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
|