Business intelligence made simple
suppress deprecation warnings when creating tables (#92)
ts-31560d08c432a4b1
diff --git a/lib/generators/blazer/templates/install.rb b/lib/generators/blazer/templates/install.rbindex b710bcac..16bc3ad2 100644--- a/lib/generators/blazer/templates/install.rb+++ b/lib/generators/blazer/templates/install.rb@@ -6,7 +6,7 @@ class <%= migration_class_name %> < ActiveRecord::Migrationt.text :descriptiont.text :statementt.string :data_source- t.timestamps+ t.timestamps null: falseendcreate_table :blazer_audits do |t|@@ -14,20 +14,20 @@ class <%= migration_class_name %> < ActiveRecord::Migrationt.references :queryt.text :statementt.string :data_source- t.timestamp :created_at+ t.timestamp :created_at, null: falseendcreate_table :blazer_dashboards do |t|t.references :creatort.text :name- t.timestamps+ t.timestamps null: falseendcreate_table :blazer_dashboard_queries do |t|t.references :dashboardt.references :queryt.integer :position- t.timestamps+ t.timestamps null: falseendcreate_table :blazer_checks do |t|@@ -39,7 +39,7 @@ class <%= migration_class_name %> < ActiveRecord::Migrationt.string :check_typet.text :messaget.timestamp :last_run_at- t.timestamps+ t.timestamps null: falseendendend