```ruby
  class SandboxEvent < ActiveRecord::Base
    self.table_name = "atomic.events"
    establish_connection("redshift_sandbox")
  end```

Support overriding of sandbox database via ENV var
user
```ruby
  class SandboxEvent < ActiveRecord::Base
    self.table_name = "atomic.events"
    establish_connection(ENV['SANDBOX_DATABASE_URL'] || "redshift_sandbox")
  end
```
assistant