Add support for remote images in the seeding system

This commit is contained in:
Jorge Manrubia
2025-11-02 09:24:38 +01:00
parent e726335833
commit ac507aa754
5 changed files with 71 additions and 23 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ namespace :seed do
tenant_id = args[:tenant_id].to_i
ApplicationRecord.current_tenant = tenant_id
account = Account.sole
Account::Seeder.new(account, User.first).seed!
Account::Seeder.new(account, User.active.first).seed!
puts "✓ Seeded account #{account.name} (tenant: #{tenant_id})"
end