Add support for remote images in the seeding system
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user