mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Fix demo data reset (#1041)
* Fix demo data reset * Only delete test user
This commit is contained in:
@@ -52,6 +52,7 @@ class Demo::Generator
|
||||
end
|
||||
|
||||
def clear_data!
|
||||
User.find_by_email("user@maybe.local")&.destroy
|
||||
ExchangeRate.destroy_all
|
||||
Security.destroy_all
|
||||
Security::Price.destroy_all
|
||||
|
||||
Reference in New Issue
Block a user