From 8064e017dcb57c77589d1e1ac5bc985e73133e9a Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 2 Dec 2025 17:40:39 -0500 Subject: [PATCH] db:seeds create staff users for testing in development --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index 422921309..2979c1b41 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -14,7 +14,7 @@ else def create_tenant(signal_account_name) tenant_id = ActiveRecord::FixtureSet.identify signal_account_name email_address = "david@37signals.com" - identity = Identity.find_or_create_by!(email_address: email_address) + identity = Identity.find_or_create_by!(email_address: email_address, staff: true) unless account = Account.find_by(external_account_id: tenant_id) account = Account.create_with_owner(