Explorar el Código

Moved blazer checks below dashboards

Andrew hace 9 años
padre
commit
9ee85f535b
Se han modificado 1 ficheros con 7 adiciones y 7 borrados
  1. 7 7
      lib/generators/blazer/templates/install.rb

+ 7 - 7
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