Skip to content

Business intelligence made simple

Fixed migration generator - replaced to use string instead of text for name column in blazer_dashboards (#292)

Panduranga Rao Mb2a5f22aa2d4
diff --git a/lib/generators/blazer/templates/install.rb.tt b/lib/generators/blazer/templates/install.rb.tt
index 34a7b525..661d079f 100644
--- a/lib/generators/blazer/templates/install.rb.tt
+++ b/lib/generators/blazer/templates/install.rb.tt
@@ -19,7 +19,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version
create_table :blazer_dashboards do |t|
t.references :creator
- t.text :name
+ t.string :name
t.timestamps null: false
end