discourse-solved/spec/fabricators/solution_fabricator.rb
Lhc_fl 150f7f4a35
DEV: Move the post and topic custom fields into a table
This PR does some preparatory work to prepare for the front-end display
of who marked an answer as solved. It migrates the custom fields from
discourse-solved of Topic and Post to a new table, except "accepted_answer_post_id"

ref: /t/-/95318
2024-09-05 17:55:02 +08:00

6 lines
121 B
Ruby

# frozen_string_literal: true
Fabricator(:solution, from: DiscourseSolved::Solution) do
topic_id
answer_post_id
end