Accounts get a default workflow and stages

This commit is contained in:
Jason Zimdars
2025-05-22 17:05:38 -05:00
parent 9fe5ebdc6b
commit 701912e977
+3
View File
@@ -5,6 +5,9 @@ class FirstRun
Account.create!(name: "Fizzy")
Closure::Reason.create_defaults
Collection.create!(name: "Cards", creator: user, all_access: true)
workflow = Workflow.create!(name: "Basic workflow")
Collection.first.update!(workflow: workflow)
user
end
end