Skip to content

Business intelligence made simple

Moved blazer checks below dashboards

Andrew9ee85f535b4f
diff --git a/lib/generators/blazer/templates/install.rb b/lib/generators/blazer/templates/install.rb
index 0ca6eb5b..d4c784fb 100644
--- a/lib/generators/blazer/templates/install.rb
+++ b/lib/generators/blazer/templates/install.rb
@@ -15,13 +15,6 @@ class <%= migration_class_name %> < ActiveRecord::Migration
t.timestamp :created_at
end
- create_table :blazer_checks do |t|
- t.references :blazer_query
- t.string :state
- t.text :emails
- t.timestamps
- end
-
create_table :blazer_dashboards do |t|
t.text :name
t.timestamps
@@ -33,5 +26,12 @@ class <%= migration_class_name %> < ActiveRecord::Migration
t.integer :position
t.timestamps
end
+
+ create_table :blazer_checks do |t|
+ t.references :blazer_query
+ t.string :state
+ t.text :emails
+ t.timestamps
+ end
end
end