Browse Source

Fixed generator

Andrew Kane 9 years ago
parent
commit
7dfddc26bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/generators/blazer/templates/install.rb

+ 1 - 1
lib/generators/blazer/templates/install.rb

@@ -30,7 +30,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration
     end
     end
 
 
     create_table :blazer_checks do |t|
     create_table :blazer_checks do |t|
-      t.references :blazer_query
+      t.references :query
       t.string :state
       t.string :state
       t.text :emails
       t.text :emails
       t.timestamps
       t.timestamps