Create default pop reasons when creating accounts
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require_relative "../config/environment"
|
||||
|
||||
ApplicationRecord.with_each_tenant do |tenant|
|
||||
Account.find_each do |account|
|
||||
account.send(:create_default_pop_reasons)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user