mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 17:57:22 +08:00
10 lines
276 B
Ruby
10 lines
276 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
Fabricator(:theme_settings_migration) do
|
||
|
theme
|
||
|
theme_field
|
||
|
version { |attrs| sequence("theme_#{attrs[:theme].id}_migrations", 1) }
|
||
|
name { |attrs| "migration-n-#{attrs[:version]}" }
|
||
|
diff { { "additions" => [], "deletions" => [] } }
|
||
|
end
|