Skip to content

Business intelligence made simple

Removed old upgrading instructions [skip ci]

Andrew Kanebd9eafaa3b9e
diff --git a/README.md b/README.md
index 1f6184a7..68e10bfb 100644
--- a/README.md
+++ b/README.md
@@ -949,152 +949,6 @@ with:
add_column :blazer_checks, :slack_channels, :text
```
-### 1.5
-
-To take advantage of the anomaly detection, create a migration
-
-```sh
-rails g migration upgrade_blazer_to_1_5
-```
-
-with:
-
-```ruby
-add_column :blazer_checks, :check_type, :string
-add_column :blazer_checks, :message, :text
-commit_db_transaction
-
-Blazer::Check.reset_column_information
-
-Blazer::Check.where(invert: true).update_all(check_type: "missing_data")
-Blazer::Check.where(check_type: nil).update_all(check_type: "bad_data")
-```
-
-### 1.3
-
-To take advantage of the latest features, create a migration
-
-```sh
-rails g migration upgrade_blazer_to_1_3
-```
-
-with:
-
-```ruby
-add_column :blazer_dashboards, :creator_id, :integer
-add_column :blazer_checks, :creator_id, :integer
-add_column :blazer_checks, :invert, :boolean
-add_column :blazer_checks, :schedule, :string
-add_column :blazer_checks, :last_run_at, :timestamp
-commit_db_transaction
-
-Blazer::Check.update_all schedule: "1 hour"
-```
-
-### 1.0
-
-Blazer 1.0 brings a number of new features:
-
-- multiple data sources, including Redshift
-- dashboards
-- checks
-
-To upgrade, run:
-
-```sh
-bundle update blazer
-```
-
-Create a migration
-
-```sh
-rails g migration upgrade_blazer_to_1_0
-```
-
-with:
-
-```ruby
-add_column :blazer_queries, :data_source, :string
-add_column :blazer_audits, :data_source, :string
-
-create_table :blazer_dashboards do |t|
- t.text :name
- t.timestamps
-end
-
-create_table :blazer_dashboard_queries do |t|
- t.references :dashboard
- t.references :query
- t.integer :position
- t.timestamps
-end
-
-create_table :blazer_checks do |t|
- t.references :query
- t.string :state
- t.text :emails
- t.timestamps
-end
-```
-
-And run:
-
-```sh
-rails db:migrate
-```
-
-Update `config/blazer.yml` with:
-
-```yml
-# see https://github.com/ankane/blazer for more info
-
-data_sources:
- main:
- url: <%= ENV["BLAZER_DATABASE_URL"] %>
-
- # statement timeout, in seconds
- # applies to PostgreSQL only
- # 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 current user
-# user_method: current_user
-
-# method name for the display name
-# user_name: name
-
-# email to send checks from
-# from_email: [email protected]
-```
-
## History
View the [changelog](https://github.com/ankane/blazer/blob/master/CHANGELOG.md)