Fix demo data reset #1041

Merged
tonyvince merged 2 commits from fix-demo-data-rest-task into main 2024-08-01 20:56:33 +08:00
tonyvince commented 2024-08-01 20:16:40 +08:00 (Migrated from github.com)

Without this we will run into if demo data was loaded before

ActiveRecord::RecordInvalid: Validation failed: Email has already been taken (ActiveRecord::RecordInvalid)
Without this we will run into if demo data was loaded before ``` ActiveRecord::RecordInvalid: Validation failed: Email has already been taken (ActiveRecord::RecordInvalid) ```
Sign in to join this conversation.