Sha256: f2da883e38625eda8e623345920298163741ed4d2d997141221aea1d6e0fd9e7

Contents?: true

Size: 1.08 KB

Versions: 6

Compression:

Stored size: 1.08 KB

Contents

# see https://github.com/ankane/blazer for more info

data_sources:
  main:
    url: <%%= ENV["BLAZER_DATABASE_URL"] %>

    # statement timeout, in seconds
    # none by default
    # timeout: 15

    # time to cache results, in minutes
    # can greatly improve speed
    # none by default
    # cache: 60

    # wrap queries in a transaction for safety
    # not necessary if you use a read-only user
    # true by default
    # use_transaction: false

    smart_variables:
      # zone_id: "SELECT id, name FROM zones ORDER BY name ASC"

    linked_columns:
      # user_id: "/admin/users/{value}"

    smart_columns:
      # user_id: "SELECT id, name FROM users WHERE id IN {value}"

# create audits
audit: true

# change the time zone
# time_zone: "Pacific Time (US & Canada)"

# class name of the user model
# user_class: User

# method name for the user model
# user_name: name

# optional auth method to use as a before_action (default: nil)
# before_action: :authenticate!

# email to send checks from
# from_email: blazer@example.org

check_schedules:
  - "1 day"
  - "1 hour"
  - "5 minutes"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
blazer-1.3.5 lib/generators/blazer/templates/config.yml
blazer-1.3.4 lib/generators/blazer/templates/config.yml
blazer-1.3.3 lib/generators/blazer/templates/config.yml
blazer-1.3.2 lib/generators/blazer/templates/config.yml
blazer-1.3.1 lib/generators/blazer/templates/config.yml
blazer-1.3.0 lib/generators/blazer/templates/config.yml